/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 160 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0928.1-2035_daily_bin631
RA = 142.048, Dec = -20.5973
tmin = 402883201, tmax = 403142401
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='227425', job_status='RUN', time_executed='2021-08-31 11:44:20.984002', time_epoch_executed='1630435460.98' WHERE source_name='4FGL J0928.1-2035' and cadence='daily' and bin_id='631'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/227425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/227425/ft1_4FGL_J0928.1-2035_daily_bin631.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/227425/ft2_4FGL_J0928.1-2035_daily_bin631.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/227425/ft1_4FGL_J0928.1-2035_daily_bin631.fits outfile=/scratch/kocevski/227425/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin631.fits ra=142.048 dec=-20.5973 rad=12.0 tmin=402883201.0 tmax=403142401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.58
user 4.36
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/227425/ft2_4FGL_J0928.1-2035_daily_bin631.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/227425/ft2_4FGL_J0928.1-2035_daily_bin631.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/227425/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin631.fits evtable="EVENTS" outfile="/scratch/kocevski/227425/ft1_filtered_4FGL_J0928.1-2035_daily_bin631.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.48
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/227425/ft1_filtered_4FGL_J0928.1-2035_daily_bin631.fits" evtable="EVENTS" scfile=/scratch/kocevski/227425/ft2_4FGL_J0928.1-2035_daily_bin631.fits sctable="SC_DATA" outfile=/scratch/kocevski/227425/ltcube_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.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/227425/ft2_4FGL_J0928.1-2035_daily_bin631.fits
.....................!
real 11.96
user 11.52
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/227425/ft1_filtered_4FGL_J0928.1-2035_daily_bin631.fits evtable="EVENTS" scfile=/scratch/kocevski/227425/ft2_4FGL_J0928.1-2035_daily_bin631.fits sctable="SC_DATA" expcube=/scratch/kocevski/227425/ltcube_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.fits outfile=/scratch/kocevski/227425/expmap_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.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/227425/ltcube_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.fits
.....................!
real 190.73
user 186.37
sys 3.99

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
Added 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J0928.1-2035 @ 142.048 -20.5973

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/227425/ft1_filtered_4FGL_J0928.1-2035_daily_bin631.fits scfile=/scratch/kocevski/227425/ft2_4FGL_J0928.1-2035_daily_bin631.fits outfile=/scratch/kocevski/227425/cmap_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.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=142.048 yref=-20.5973 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.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/227425/ft1_filtered_4FGL_J0928.1-2035_daily_bin631.fits scfile=/scratch/kocevski/227425/ft2_4FGL_J0928.1-2035_daily_bin631.fits outfile=/scratch/kocevski/227425/cmap_HighResolution_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.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=142.048 yref=-20.5973 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.69
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/227425/ft1_filtered_4FGL_J0928.1-2035_daily_bin631.fits evtable="EVENTS" scfile=/scratch/kocevski/227425/ft2_4FGL_J0928.1-2035_daily_bin631.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/227425/Model_4FGL_J0928.1-2035_daily_bin631.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 GAL_V02
Working on...
/scratch/kocevski/227425/ft1_filtered_4FGL_J0928.1-2035_daily_bin631.fits.....................!
real 77.53
user 75.73
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/227425/ft1_filtered_4FGL_J0928.1-2035_daily_bin631.fits', '/scratch/kocevski/227425/ft2_4FGL_J0928.1-2035_daily_bin631.fits', expMap='/scratch/kocevski/227425/expmap_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.fits', expCube='/scratch/kocevski/227425/ltcube_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/227425/Model_4FGL_J0928.1-2035_daily_bin631.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0928.1-2035'

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  8.822e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  2.455e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/227425/ft1_filtered_4FGL_J0928.1-2035_daily_bin631.fits
Spacecraft file(s): /scratch/kocevski/227425/ft2_4FGL_J0928.1-2035_daily_bin631.fits
Exposure map: /scratch/kocevski/227425/expmap_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.fits
Exposure cube: /scratch/kocevski/227425/ltcube_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/227425/Model_4FGL_J0928.1-2035_daily_bin631.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) = 7158.19228567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5714       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.300       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.297       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12087E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.9157       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.7680       1.0000         .10000E-03   10000.    
     9 'norm      '    .10710E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.9780       1.0000         .10000E-03   10000.    
    11 'norm      '    8.1475       1.0000         .10000E-03   10000.    
    12 'norm      '    .36328       1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .94897       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0363       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7157.521     FROM MIGRAD    STATUS=CONVERGED    273 CALLS     1339 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5699        6.7995       -.21603E-06   -.20954E-03
   2  Prefactor     .10000E-03    5.7869       -.19780E-06** at limit **
   3  Prefactor     40.294        18.238       -.39524E-05   -.14393E-04
   4  Prefactor     23.322        31.826        .40840E-04   -.71537E-05
   5  Prefactor     .10000E-03    20.376        .28786E-05** at limit **
   6  Prefactor     6.9145        28.369       -.32110E-05   -.24064E-04
   7  Prefactor     .10000E-03    10.287       -.88800E-06** at limit **
   8  Prefactor     8.7662        18.576       -.50048E-05   -.10771E-03
   9  norm          .10000E-03    7.1818        .50435E-06** at limit **
  10  norm          1.9797        4.3953       -.64897E-06   -.66893E-03
  11  norm          8.1505        8.3668       -.21489E-06   -.32855E-04
  12  norm          .37249        6.5951        .22341E-05   -.93900E-03
  13  norm          .10000E-03    .52598        .26043E-07** at limit **
  14  Normalizat    .94922        .21261       -.50847E-05   -.44652E-04
  15  Prefactor     1.0362        .10297        .10336E-05   -.46916E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.56985
  Prefactor  = 0.0001
  Prefactor  = 40.2938
  Prefactor  = 23.322
  Prefactor  = 0.0001
  Prefactor  = 6.91445
  Prefactor  = 0.0001
  Prefactor  = 8.7662
  norm       = 0.0001
  norm       = 1.97965
  norm       = 8.15046
  norm       = 0.372489
  norm       = 0.0001
  Normalizat = 0.949225
  Prefactor  = 1.03625
 **********
 **   18 **HESSE 
 **********

 FCN=   7157.521     FROM HESSE     STATUS=OK           188 CALLS     1527 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5699        6.8011        .14574E-03   -1.5158    
   2  Prefactor     .10000E-03    5.8077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.294        18.280        .63142E-04   -1.4438    
   4  Prefactor     23.322        31.722        .82989E-04   -1.4742    
   5  Prefactor     .10000E-03    20.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9145        28.449        .15256E-03   -1.5182    
   7  Prefactor     .10000E-03    10.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.7662        18.639        .13537E-03   -1.5116    
   9  norm          .10000E-03    7.4785        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9797        4.3670        .25568E-03   -1.5427    
  11  norm          8.1505        8.3662        .14046E-03   -1.5137    
  12  norm          .37249        40.566        .41557E-02   -1.5586    
  13  norm          .10000E-03    .53870        .11967E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .94922        .24088        .35056E-03   -.94751    
  15  Prefactor     1.0362        .11787        .16873E-03   -.91531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29829e-08
Minuit parameter uncertainties:
  1  6.80184
  2  8.19773e-06
  3  18.2823
  4  31.7452
  5  8.70094e-05
  6  28.0733
  7  1.23867e-05
  8  18.6516
  9  1.79982e-05
  10  4.36774
  11  8.36741
  12  7.77878
  13  3.1685e-06
  14  0.241158
  15  0.117898
Done.

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

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  2.332e+01  3.175e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  2.455e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.036e+00  1.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.492e-01  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.76
Ra Dec: 142.048 -20.597
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/227425/likelihoodResults_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.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) = 7157.30793453
delta logL = 0.212970040889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7157.30089783
delta logL = 0.220006741494

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.229       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3949       1.0000          .0000       10.000    
     3 'Normalizat'    .91208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0470       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7157.301     FROM MIGRAD    STATUS=FAILED        96 CALLS      296 TOTAL
                     EDM=   .87E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.252        6696.5        .11956E-03   -.26150E-04
   2  Index         3.3938        6.5184        .85309E-02    .49261E-03
   3  Normalizat    .91189        .67950        .35692E-03   -.27489E-03
   4  Prefactor     1.0473        .27874        .16793E-03    .76994E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7157.301     FROM SIMPLEX   STATUS=UNCHANGED    104 CALLS      400 TOTAL
                     EDM=   .98E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.252        6696.5        .18963E-03   -1.5037    
   2  Index         3.3938        6.5184        .11346E-02   -.32704    
   3  Normalizat    .91189        .67950        .21819E-03   -.96044    
   4  Prefactor     1.0473        .27874        .10281E-03   -.91169    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7157.301     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      430 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.252        30.759        .47822E-05    .23297E-04
   2  Index         3.3938        1.8250        .17062E-02   -.19950E-04
   3  Normalizat    .91189        .24193        .14277E-04   -.26963E-03
   4  Prefactor     1.0473        .11805        .33585E-04    .77117E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2523
  Index      = 3.3938
  Normalizat = 0.911886
  Prefactor  = 1.04729
 **********
 **   18 **HESSE 
 **********

 FCN=   7157.301     FROM HESSE     STATUS=OK            23 CALLS      453 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.252        27.991        .95644E-06   -1.5037    
   2  Index         3.3938        1.6670        .68248E-04   -.32704    
   3  Normalizat    .91189        .24121        .28554E-05   -.96044    
   4  Prefactor     1.0473        .11783        .67171E-05   -.91169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46783e-09
Minuit parameter uncertainties:
  1  28.0241
  2  1.70355
  3  0.241494
  4  0.117859
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/227425': 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) = 7157.30089378
delta logL = 0.220010790529

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  1.125e+01  2.802e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  3.394e+00  1.704e+00  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.047e+00  1.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.119e-01  2.415e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.24
Ra Dec: 142.048 -20.597
Photon Index (Free Index): 3.39 +/- 1.70
Photon Flux (Free Index): 5.83e-08 +/- 6.97e-08
Energy Flux (Free Index): 1.00e-05 +/- 1.04e-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/227425/cmap_HighResolution_402883201_403142401_4FGL_J0928.1-2035_daily_bin631.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.22e-03', comment='SUCCESS', energy_flux2='1.00e-05', dlogl='2.20e-01', photon_flux2='5.83e-08', job_status='DONE', time_completed='2021-08-31 11:53:39.392945', photon_index_error2='1.70', photon_index2='3.39', ts='0.76', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='1.04e-05', EG='0.95', time_epoch_completed='1630436019.39', return_code='0', job_id='227425', GAL2='1.05', EG2='0.91', return_code2='0', photon_flux_error2='6.97e-08', ts2='1.24', photon_index='2.45' WHERE bin_id='631' AND source_name='4FGL J0928.1-2035' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:53:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 227425: <4FGL_J0928.1-2035_daily_bin631> in cluster <slac> Done

Job <4FGL_J0928.1-2035_daily_bin631> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 11:41:27 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:41:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:41:29 2021
Terminated at Tue Aug 31 11:53:40 2021
Results reported at Tue Aug 31 11:53:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.1-2035_daily_bin631 142.048 -20.5973 402883201 403142401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0928.1-2035 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   553.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            733 sec.

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

