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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin1324
RA = 67.173, Dec = -37.9403
tmin = 582508801, tmax = 582768001
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='481204', job_status='RUN', time_executed='2021-08-20 17:11:00.278305', time_epoch_executed='1629504660.28' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='1324'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/481204

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/481204/ft1_4FGL_J0428.6-3756_daily_bin1324.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/481204/ft2_4FGL_J0428.6-3756_daily_bin1324.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/481204/ft1_4FGL_J0428.6-3756_daily_bin1324.fits outfile=/scratch/kocevski/481204/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1324.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=582508801.0 tmax=582768001.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.95
user 3.45
sys 0.45

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/481204/ft2_4FGL_J0428.6-3756_daily_bin1324.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/481204/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1324.fits evtable="EVENTS" outfile="/scratch/kocevski/481204/ft1_filtered_4FGL_J0428.6-3756_daily_bin1324.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.78
user 0.33
sys 0.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/481204/ft1_filtered_4FGL_J0428.6-3756_daily_bin1324.fits" evtable="EVENTS" scfile=/scratch/kocevski/481204/ft2_4FGL_J0428.6-3756_daily_bin1324.fits sctable="SC_DATA" outfile=/scratch/kocevski/481204/ltcube_582508801_582768001_4FGL_J0428.6-3756_daily_bin1324.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/481204/ft2_4FGL_J0428.6-3756_daily_bin1324.fits
.....................!
real 12.50
user 11.87
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/481204/ft1_filtered_4FGL_J0428.6-3756_daily_bin1324.fits evtable="EVENTS" scfile=/scratch/kocevski/481204/ft2_4FGL_J0428.6-3756_daily_bin1324.fits sctable="SC_DATA" expcube=/scratch/kocevski/481204/ltcube_582508801_582768001_4FGL_J0428.6-3756_daily_bin1324.fits outfile=/scratch/kocevski/481204/expmap_582508801_582768001_4FGL_J0428.6-3756_daily_bin1324.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/481204/ltcube_582508801_582768001_4FGL_J0428.6-3756_daily_bin1324.fits
.....................!
real 191.06
user 186.09
sys 4.54

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/481204/ft1_filtered_4FGL_J0428.6-3756_daily_bin1324.fits scfile=/scratch/kocevski/481204/ft2_4FGL_J0428.6-3756_daily_bin1324.fits outfile=/scratch/kocevski/481204/cmap_582508801_582768001_4FGL_J0428.6-3756_daily_bin1324.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.79
user 0.38
sys 0.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/481204/ft1_filtered_4FGL_J0428.6-3756_daily_bin1324.fits scfile=/scratch/kocevski/481204/ft2_4FGL_J0428.6-3756_daily_bin1324.fits outfile=/scratch/kocevski/481204/cmap_HighResolution_582508801_582768001_4FGL_J0428.6-3756_daily_bin1324.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.81
user 0.39
sys 0.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/481204/ft1_filtered_4FGL_J0428.6-3756_daily_bin1324.fits evtable="EVENTS" scfile=/scratch/kocevski/481204/ft2_4FGL_J0428.6-3756_daily_bin1324.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/481204/Model_4FGL_J0428.6-3756_daily_bin1324.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/481204/ft1_filtered_4FGL_J0428.6-3756_daily_bin1324.fits.....................!
real 161.27
user 159.32
sys 1.48

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/481204/ft1_filtered_4FGL_J0428.6-3756_daily_bin1324.fits', '/scratch/kocevski/481204/ft2_4FGL_J0428.6-3756_daily_bin1324.fits', expMap='/scratch/kocevski/481204/expmap_582508801_582768001_4FGL_J0428.6-3756_daily_bin1324.fits', expCube='/scratch/kocevski/481204/ltcube_582508801_582768001_4FGL_J0428.6-3756_daily_bin1324.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/481204/Model_4FGL_J0428.6-3756_daily_bin1324.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/481204/ft1_filtered_4FGL_J0428.6-3756_daily_bin1324.fits
Spacecraft file(s): /scratch/kocevski/481204/ft2_4FGL_J0428.6-3756_daily_bin1324.fits
Exposure map: /scratch/kocevski/481204/expmap_582508801_582768001_4FGL_J0428.6-3756_daily_bin1324.fits
Exposure cube: /scratch/kocevski/481204/ltcube_582508801_582768001_4FGL_J0428.6-3756_daily_bin1324.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/481204/Model_4FGL_J0428.6-3756_daily_bin1324.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) = 7535.10316652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18873E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .21339       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.5144       1.0000         .10000E-03   10000.    
     6 'norm      '    9.5551       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.031       1.0000         .10000E-03   10000.    
    10 'norm      '    5.3970       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .28068E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    5.3041       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.0605       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10975E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10477E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.7761       1.0000         .10000E-03   10000.    
    18 'norm      '    5.2414       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13845E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .61297E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10282E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .14496E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.4759       1.0000         .10000E-03   10000.    
    24 'norm      '    9.7894       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.3074       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .93987       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=   7534.953     FROM MIGRAD    STATUS=CONVERGED    662 CALLS     2753 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9420       -.31372E-08** at limit **
   2  norm          .21349        .59993       -.76535E-08    .79871E-04
   3  Prefactor     .10000E-03    11.612       -.10150E-06** at limit **
   4  Prefactor     .10000E-03    84.027       -.66108E-06** at limit **
   5  norm          1.5144        .45392       -.10564E-07    .27806E-03
   6  norm          9.5544        9.7306       -.11193E-08   -.22208E-05
   7  Prefactor     .10000E-03    12.985        .11685E-06** at limit **
   8  Prefactor     .10000E-03    4.7105        .64816E-08** at limit **
   9  Prefactor     23.031        12.603        .34987E-07   -.11758E-03
  10  norm          5.3968        1.0305        .78677E-08   -.38738E-03
  11  Prefactor     .28964E-01    1.2786        .20331E-06    .11522E-03
  12  norm          5.3136        10.636       -.20787E-05   -.77564E-04
  13  norm          .10000E-03    72.918       -.19335E-06** at limit **
  14  norm          4.0619        1.8284       -.20009E-06   -.59998E-03
  15  Prefactor     .10000E-03    1.3684        .64910E-06** at limit **
  16  Prefactor     .10000E-03    8.7775        .21449E-06** at limit **
  17  norm          2.7781        3.4563        .13142E-07   -.39424E-04
  18  norm          5.2497        4.9038       -.83080E-06   -.33009E-03
  19  Prefactor     .10000E-03    185.03        .41377E-05** at limit **
  20  Prefactor     .10001E-03    4.0609        .40183E-06** at limit **
  21  Prefactor     .10000E-03    60.123        .11319E-05** at limit **
  22  Prefactor     .10008E-03    1.5645        .63448E-06** at limit **
  23  Prefactor     1.4747        4.9103        .10488E-05    .94214E-04
  24  norm          9.7877        3.3608        .19787E-07   -.49747E-03
  25  Normalizat    1.3076        .19561       -.10309E-05   -.34698E-03
  26  Prefactor     .93979        .19727        .10952E-05   -.36409E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.213494
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.51438
  norm       = 9.55436
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.031
  norm       = 5.39678
  Prefactor  = 0.0289641
  norm       = 5.31361
  norm       = 0.0001
  norm       = 4.0619
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.77809
  norm       = 5.24966
  Prefactor  = 0.000100001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.000100083
  Prefactor  = 1.47467
  norm       = 9.78767
  Normalizat = 1.3076
  Prefactor  = 0.939787
 **********
 **   18 **HESSE 
 **********

 FCN=   7534.953     FROM HESSE     STATUS=OK           474 CALLS     3227 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.2751        .23422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .21349        .58176        .10830E-03   -1.5616    
   3  Prefactor     .10000E-03    11.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    84.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5144        .45459        .29306E-04   -1.5462    
   6  norm          9.5544        9.7368        .12964E-03   -1.5090    
   7  Prefactor     .10000E-03    13.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.7132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.031        12.707        .83465E-04   -1.4748    
  10  norm          5.3968        1.0357        .34306E-04   -1.5243    
  11  Prefactor     .28964E-01    4.2710        .30124E-01   -1.5674    
  12  norm          5.3136        11.172        .17451E-03   -1.5247    
  13  norm          .10000E-03    72.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0619        1.8249        .73619E-04   -1.5305    
  15  Prefactor     .10000E-03    5.2383        .17689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.8086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.7781        3.4242        .17128E-03   -1.5375    
  18  norm          5.2497        4.9661        .17557E-03   -1.5250    
  19  Prefactor     .10000E-03    185.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    30.126        .32534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    60.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10008E-03    17.790        .18714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.4747        4.9870        .15568E-02   -1.5465    
  24  norm          9.7877        3.3719        .83108E-04   -1.5082    
  25  Normalizat    1.3076        .23635        .26349E-03   -.83340    
  26  Prefactor     .93979        .23492        .32035E-03   -.94764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.11581e-09
Minuit parameter uncertainties:
  1  3.16465e-05
  2  0.581777
  3  7.88276e-06
  4  0.000263665
  5  0.454594
  6  9.73843
  7  8.08264e-06
  8  5.43659e-07
  9  12.709
  10  1.03572
  11  0.702276
  12  11.1764
  13  0.000105458
  14  1.82492
  15  3.43699e-05
  16  2.73563e-05
  17  3.42441
  18  4.96645
  19  0.000674244
  20  0.000906318
  21  8.50125e-08
  22  0.00243738
  23  4.98841
  24  3.37197
  25  0.23655
  26  0.235173
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  5.397e+00  1.036e+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

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  9.398e-01  2.352e-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:  1.308e+00  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 134.04
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 2.97e-07 +/- 5.70e-08
Energy Flux (Fixed Index): 1.70e-04 +/- 3.27e-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) = 7534.78838031
delta logL = 0.164258204756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7534.77960081
delta logL = 0.173037704552

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5000       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8956       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3301       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92618       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=   7534.780     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4996        1.1276        .42831E-02   -.21147E-02
   2  alpha         1.8956        .18662        .12902        .27798E-04
   3  Normalizat    1.3299        .18611        .59221E-01    .17098E-04
   4  Prefactor     .92647        .19397        .72900E-01    .15462E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.49958
  alpha      = 1.89557
  Normalizat = 1.32991
  Prefactor  = 0.926473
 **********
 **   18 **HESSE 
 **********

 FCN=   7534.780     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4996        .99513        .35301E-04   -1.5239    
   2  alpha         1.8956        .16857        .55717E-02   -.24419    
   3  Normalizat    1.3299        .22275        .26190E-03   -.82678    
   4  Prefactor     .92647        .23171        .32256E-03   -.95222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15252e-11
Minuit parameter uncertainties:
  1  0.99513
  2  0.168709
  3  0.222906
  4  0.231958
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/481204': 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) = 7534.77959966
delta logL = 0.173038853678

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  5.500e+00  9.951e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.896e+00  1.687e-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:  9.265e-01  2.320e-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:  1.330e+00  2.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 135.67
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.90 +/- 0.17
Photon Flux (Free Index): 2.74e-07 +/- 6.26e-08
Energy Flux (Free Index): 1.89e-04 +/- 4.94e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/481204/cmap_HighResolution_582508801_582768001_4FGL_J0428.6-3756_daily_bin1324.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.97e-07', energy_flux2='1.89e-04', photon_flux_error='5.70e-08', dlogl='1.73e-01', energy_flux='1.70e-04', photon_flux2='2.74e-07', job_status='DONE', time_completed='2021-08-20 17:24:27.544935', photon_index_error2='0.17', photon_index2='1.90', ts='134.04', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='4.94e-05', EG='1.31', time_epoch_completed='1629505467.54', return_code='0', job_id='481204', GAL2='0.93', EG2='1.33', return_code2='0', energy_flux_error='3.27e-05', photon_flux_error2='6.26e-08', ts2='135.67', photon_index='1.99' WHERE bin_id='1324' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:24:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 481204: <4FGL_J0428.6-3756_daily_bin1324> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin1324> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Aug 20 17:10:36 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:10:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 17:10:38 2021
Terminated at Fri Aug 20 17:24:28 2021
Results reported at Fri Aug 20 17:24:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin1324 67.173 -37.9403 582508801 582768001 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 :                                   808.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            832 sec.

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

