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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin273
RA = 67.173, Dec = -37.9403
tmin = 310089601, tmax = 310348801
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='473236', job_status='RUN', time_executed='2021-08-20 16:54:35.870081', time_epoch_executed='1629503675.87' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='273'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/473236

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/473236/ft1_4FGL_J0428.6-3756_daily_bin273.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/473236/ft2_4FGL_J0428.6-3756_daily_bin273.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/473236/ft1_4FGL_J0428.6-3756_daily_bin273.fits outfile=/scratch/kocevski/473236/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin273.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=310089601.0 tmax=310348801.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 3.54
user 3.12
sys 0.40

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/473236/ft2_4FGL_J0428.6-3756_daily_bin273.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/473236/ft2_4FGL_J0428.6-3756_daily_bin273.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/473236/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin273.fits evtable="EVENTS" outfile="/scratch/kocevski/473236/ft1_filtered_4FGL_J0428.6-3756_daily_bin273.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.71
user 0.31
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/473236/ft1_filtered_4FGL_J0428.6-3756_daily_bin273.fits" evtable="EVENTS" scfile=/scratch/kocevski/473236/ft2_4FGL_J0428.6-3756_daily_bin273.fits sctable="SC_DATA" outfile=/scratch/kocevski/473236/ltcube_310089601_310348801_4FGL_J0428.6-3756_daily_bin273.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/473236/ft2_4FGL_J0428.6-3756_daily_bin273.fits
.....................!
real 12.20
user 11.63
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/473236/ft1_filtered_4FGL_J0428.6-3756_daily_bin273.fits evtable="EVENTS" scfile=/scratch/kocevski/473236/ft2_4FGL_J0428.6-3756_daily_bin273.fits sctable="SC_DATA" expcube=/scratch/kocevski/473236/ltcube_310089601_310348801_4FGL_J0428.6-3756_daily_bin273.fits outfile=/scratch/kocevski/473236/expmap_310089601_310348801_4FGL_J0428.6-3756_daily_bin273.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/473236/ltcube_310089601_310348801_4FGL_J0428.6-3756_daily_bin273.fits
.....................!
real 192.11
user 186.63
sys 5.11

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 177 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 J0428.6-3756 @ 67.173 -37.9403

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/473236/ft1_filtered_4FGL_J0428.6-3756_daily_bin273.fits scfile=/scratch/kocevski/473236/ft2_4FGL_J0428.6-3756_daily_bin273.fits outfile=/scratch/kocevski/473236/cmap_310089601_310348801_4FGL_J0428.6-3756_daily_bin273.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=67.173 yref=-37.9403 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.73
user 0.36
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/473236/ft1_filtered_4FGL_J0428.6-3756_daily_bin273.fits scfile=/scratch/kocevski/473236/ft2_4FGL_J0428.6-3756_daily_bin273.fits outfile=/scratch/kocevski/473236/cmap_HighResolution_310089601_310348801_4FGL_J0428.6-3756_daily_bin273.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=67.173 yref=-37.9403 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.74
user 0.38
sys 0.34

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/473236/ft1_filtered_4FGL_J0428.6-3756_daily_bin273.fits evtable="EVENTS" scfile=/scratch/kocevski/473236/ft2_4FGL_J0428.6-3756_daily_bin273.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/473236/Model_4FGL_J0428.6-3756_daily_bin273.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/473236/ft1_filtered_4FGL_J0428.6-3756_daily_bin273.fits.....................!
real 102.72
user 100.95
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/473236/ft1_filtered_4FGL_J0428.6-3756_daily_bin273.fits', '/scratch/kocevski/473236/ft2_4FGL_J0428.6-3756_daily_bin273.fits', expMap='/scratch/kocevski/473236/expmap_310089601_310348801_4FGL_J0428.6-3756_daily_bin273.fits', expCube='/scratch/kocevski/473236/ltcube_310089601_310348801_4FGL_J0428.6-3756_daily_bin273.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/473236/Model_4FGL_J0428.6-3756_daily_bin273.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0428.6-3756'

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  4.206e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.995e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  8.169e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  8.090e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/473236/ft1_filtered_4FGL_J0428.6-3756_daily_bin273.fits
Spacecraft file(s): /scratch/kocevski/473236/ft2_4FGL_J0428.6-3756_daily_bin273.fits
Exposure map: /scratch/kocevski/473236/expmap_310089601_310348801_4FGL_J0428.6-3756_daily_bin273.fits
Exposure cube: /scratch/kocevski/473236/ltcube_310089601_310348801_4FGL_J0428.6-3756_daily_bin273.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/473236/Model_4FGL_J0428.6-3756_daily_bin273.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) = 4765.14515343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.488       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.8324       1.0000         .10000E-03   10000.    
     6 'norm      '    7.3266       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.890       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.890       1.0000         .10000E-03   10000.    
    10 'norm      '    1.2907       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2425       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.5002       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7809       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .30588       1.0000         .10000E-03   10000.    
    18 'norm      '    20.226       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11705E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .36787E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    63.098       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11894E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.5850       1.0000         .10000E-03   10000.    
    24 'norm      '    .50550E-01   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .81846       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4765.141     FROM MIGRAD    STATUS=CONVERGED    667 CALLS     3199 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9330       -.13745E-07** at limit **
   2  norm          .10000E-03    .46688       -.50706E-07** at limit **
   3  Prefactor     13.486        15.023       -.14167E-06   -.15281E-04
   4  Prefactor     .10000E-03    52.439       -.19002E-06** at limit **
   5  norm          1.8323        .56089       -.25849E-08   -.10947E-03
   6  norm          7.3263        11.543       -.29645E-06   -.61601E-04
   7  Prefactor     .10000E-03    33.017        .33308E-06** at limit **
   8  Prefactor     26.890        18.874        .53306E-07   -.25187E-04
   9  Prefactor     19.887        14.639       -.32755E-06   -.12310E-03
  10  norm          1.2907        .82198       -.14021E-07   -.28217E-03
  11  Prefactor     1.2425        2.3477       -.10203E-05   -.80460E-03
  12  norm          .10000E-03    4.8140       -.59320E-06** at limit **
  13  norm          .10000E-03    80.087       -.28680E-05** at limit **
  14  norm          2.5008        2.1529       -.20842E-06   -.45229E-03
  15  Prefactor     1.7762        5.4344        .30719E-06   -.15731E-03
  16  Prefactor     .10000E-03    24.810        .21230E-06** at limit **
  17  norm          .30831        5.5170       -.20168E-05    .58986E-03
  18  norm          20.227        9.9065       -.38001E-06   -.39915E-03
  19  Prefactor     .10000E-03    101.87        .37409E-05** at limit **
  20  Prefactor     .10541E-03    7.1003       -.11297E-05** at limit **
  21  Prefactor     63.072        72.474       -.22056E-05   -.73610E-04
  22  Prefactor     .10000E-03    2.4921        .39666E-06** at limit **
  23  Prefactor     2.5809        8.3060       -.66611E-06   -.14530E-03
  24  norm          .62078E-01    25.229        .24073E-05    .45711E-04
  25  Normalizat    .81872        .22894        .69096E-06   -.66944E-04
  26  Prefactor     1.1994        .22707       -.39995E-06   -.61947E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 13.4859
  Prefactor  = 0.0001
  norm       = 1.83226
  norm       = 7.32632
  Prefactor  = 0.0001
  Prefactor  = 26.8897
  Prefactor  = 19.8868
  norm       = 1.29071
  Prefactor  = 1.24252
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 2.50081
  Prefactor  = 1.7762
  Prefactor  = 0.0001
  norm       = 0.308306
  norm       = 20.2274
  Prefactor  = 0.000100001
  Prefactor  = 0.000105411
  Prefactor  = 63.0722
  Prefactor  = 0.0001
  Prefactor  = 2.58088
  norm       = 0.0620775
  Normalizat = 0.818718
  Prefactor  = 1.19936
 **********
 **   18 **HESSE 
 **********

 FCN=   4765.141     FROM HESSE     STATUS=OK           476 CALLS     3675 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9484        .93696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .48418        .91993E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.486        15.035        .10906E-03   -1.4973    
   4  Prefactor     .10000E-03    52.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8323        .56243        .26046E-04   -1.5437    
   6  norm          7.3263        11.533        .14818E-03   -1.5167    
   7  Prefactor     .10000E-03    33.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     26.890        18.854        .77255E-04   -1.4670    
   9  Prefactor     19.887        14.676        .89808E-04   -1.4816    
  10  norm          1.2907        .81173        .43812E-04   -1.5481    
  11  Prefactor     1.2425        2.3499        .14020E-03   -1.5485    
  12  norm          .10000E-03    4.8215        .14787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    80.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.5008        2.1318        .78111E-04   -1.5392    
  15  Prefactor     1.7762        5.2483        .19394E-03   -1.5441    
  16  Prefactor     .10000E-03    24.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .30831        8.2127        .24618E-02   -1.5597    
  18  norm          20.227        9.6908        .89059E-04   -1.4808    
  19  Prefactor     .10000E-03    102.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10541E-03    6.9445        .43834E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     63.072        72.352        .50517E-04   -1.4118    
  22  Prefactor     .10000E-03    4.4882        .20885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.5809        8.3186        .25381E-03   -1.5387    
  24  norm          .62078E-01    26.146        .16570E-02   -1.5658    
  25  Normalizat    .81872        .27291        .29429E-03   -.99378    
  26  Prefactor     1.1994        .27382        .26347E-03   -.86351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4242e-09
Minuit parameter uncertainties:
  1  1.14227e-06
  2  1.2881e-06
  3  15.0389
  4  2.51225e-05
  5  0.56243
  6  11.5361
  7  1.32908e-05
  8  18.858
  9  14.6789
  10  0.811734
  11  2.35006
  12  2.86159e-05
  13  0.000414039
  14  2.13182
  15  5.24967
  16  0.000102868
  17  3.18243
  18  9.6916
  19  0.000537655
  20  0.0122619
  21  72.4527
  22  5.1604e-06
  23  8.32237
  24  2.54705
  25  0.273368
  26  0.274147
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  1.291e+00  8.117e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.995e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  8.169e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  8.090e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.199e+00  2.741e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  8.187e-01  2.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.27
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 7.10e-08 +/- 4.46e-08
Energy Flux (Fixed Index): 4.08e-05 +/- 2.56e-05

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) = 4765.14059765
delta logL = 4.10558432122e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4765.14059599
delta logL = 4.27172471973e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2906       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0001       1.0000          .0000       5.0000    
     3 'Normalizat'    .81834       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4765.141     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      205 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2904        17.388        .97449E-02    .21700E-03
   2  alpha         2.0003        2.9513        .34874        .15617E-05
   3  Normalizat    .81834        .12343        .66532E-01    .15368E-04
   4  Prefactor     1.1996        .10817        .59572E-01    .37458E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.29042
  alpha      = 2.00029
  Normalizat = 0.818338
  Prefactor  = 1.19961
 **********
 **   18 **HESSE 
 **********

 FCN=   4765.141     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .35E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2904        .74106        .43776E-04   -1.5481    
   2  alpha         2.0003        .56910        .12262E-01   -.20124    
   3  Normalizat    .81834        .25258        .29434E-03   -.99392    
   4  Prefactor     1.1996        .26784        .26344E-03   -.86343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5436e-15
Minuit parameter uncertainties:
  1  0.741065
  2  0.57435
  3  0.252942
  4  0.268146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/473236': 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) = 4765.1405959
delta logL = 4.28103649028e-05

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  1.290e+00  7.411e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.000e+00  5.744e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  8.169e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  8.090e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.200e+00  2.681e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  8.183e-01  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.36
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 2.00 +/- 0.57
Photon Flux (Free Index): 7.14e-08 +/- 5.71e-08
Energy Flux (Free Index): 4.06e-05 +/- 2.95e-05

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/473236/cmap_HighResolution_310089601_310348801_4FGL_J0428.6-3756_daily_bin273.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.10e-08', energy_flux2='4.06e-05', photon_flux_error='4.46e-08', dlogl='4.28e-05', energy_flux='4.08e-05', photon_flux2='7.14e-08', job_status='DONE', time_completed='2021-08-20 17:05:13.856849', photon_index_error2='0.57', photon_index2='2.00', ts='6.27', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='2.95e-05', EG='0.82', time_epoch_completed='1629504313.86', return_code='0', job_id='473236', GAL2='1.20', EG2='0.82', return_code2='0', energy_flux_error='2.56e-05', photon_flux_error2='5.71e-08', ts2='6.36', photon_index='1.99' WHERE bin_id='273' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:05:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 473236: <4FGL_J0428.6-3756_daily_bin273> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin273> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 20 16:50:30 2021
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 16:50:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 16:50:31 2021
Terminated at Fri Aug 20 17:05:14 2021
Results reported at Fri Aug 20 17:05:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin273 67.173 -37.9403 310089601 310348801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0428.6-3756 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   640.40 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            884 sec.

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

