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


Performing analysis on: 4FGL_J1902.9-6748_daily_bin1034
RA = 285.743, Dec = -67.8068
tmin = 507340801, tmax = 507600001
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='496055', job_status='RUN', time_executed='2021-09-21 22:16:35.067569', time_epoch_executed='1632287795.07' WHERE source_name='4FGL J1902.9-6748' and cadence='daily' and bin_id='1034'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/496055

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/496055/ft1_4FGL_J1902.9-6748_daily_bin1034.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/496055/ft2_4FGL_J1902.9-6748_daily_bin1034.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/496055/ft1_4FGL_J1902.9-6748_daily_bin1034.fits outfile=/scratch/kocevski/496055/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1034.fits ra=285.743 dec=-67.8068 rad=12.0 tmin=507340801.0 tmax=507600001.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.53
user 3.32
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/496055/ft2_4FGL_J1902.9-6748_daily_bin1034.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/496055/ft2_4FGL_J1902.9-6748_daily_bin1034.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/496055/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1034.fits evtable="EVENTS" outfile="/scratch/kocevski/496055/ft1_filtered_4FGL_J1902.9-6748_daily_bin1034.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/496055/ft1_filtered_4FGL_J1902.9-6748_daily_bin1034.fits" evtable="EVENTS" scfile=/scratch/kocevski/496055/ft2_4FGL_J1902.9-6748_daily_bin1034.fits sctable="SC_DATA" outfile=/scratch/kocevski/496055/ltcube_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.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/496055/ft2_4FGL_J1902.9-6748_daily_bin1034.fits
.....................!
real 12.08
user 11.73
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/496055/ft1_filtered_4FGL_J1902.9-6748_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/496055/ft2_4FGL_J1902.9-6748_daily_bin1034.fits sctable="SC_DATA" expcube=/scratch/kocevski/496055/ltcube_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.fits outfile=/scratch/kocevski/496055/expmap_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.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/496055/ltcube_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.fits
.....................!
real 190.13
user 186.21
sys 3.43

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 FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Added 217 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 J1902.9-6748 @ 285.743 -67.8068

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/496055/ft1_filtered_4FGL_J1902.9-6748_daily_bin1034.fits scfile=/scratch/kocevski/496055/ft2_4FGL_J1902.9-6748_daily_bin1034.fits outfile=/scratch/kocevski/496055/cmap_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.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=285.743 yref=-67.8068 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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/496055/ft1_filtered_4FGL_J1902.9-6748_daily_bin1034.fits scfile=/scratch/kocevski/496055/ft2_4FGL_J1902.9-6748_daily_bin1034.fits outfile=/scratch/kocevski/496055/cmap_HighResolution_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.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=285.743 yref=-67.8068 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/496055/ft1_filtered_4FGL_J1902.9-6748_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/496055/ft2_4FGL_J1902.9-6748_daily_bin1034.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/496055/Model_4FGL_J1902.9-6748_daily_bin1034.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 FHES J1642.1-5428
adding source GAL_V02
Working on...
/scratch/kocevski/496055/ft1_filtered_4FGL_J1902.9-6748_daily_bin1034.fits.....................!
real 93.96
user 92.62
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/496055/ft1_filtered_4FGL_J1902.9-6748_daily_bin1034.fits', '/scratch/kocevski/496055/ft2_4FGL_J1902.9-6748_daily_bin1034.fits', expMap='/scratch/kocevski/496055/expmap_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.fits', expCube='/scratch/kocevski/496055/ltcube_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/496055/Model_4FGL_J1902.9-6748_daily_bin1034.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1902.9-6748'

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  6.756e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
436        alpha:  2.313e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
437         beta:  1.311e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
438           Eb:  6.088e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/496055/ft1_filtered_4FGL_J1902.9-6748_daily_bin1034.fits
Spacecraft file(s): /scratch/kocevski/496055/ft2_4FGL_J1902.9-6748_daily_bin1034.fits
Exposure map: /scratch/kocevski/496055/expmap_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.fits
Exposure cube: /scratch/kocevski/496055/ltcube_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/496055/Model_4FGL_J1902.9-6748_daily_bin1034.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) = 10290.6171335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    111.37       1.0000         .10000E-03   10000.    
     2 'norm      '    11.572       1.0000         .10000E-03   10000.    
     3 'norm      '    37.937       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.121       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.7323       1.0000         .10000E-03   10000.    
     7 'norm      '    .42893       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.8954       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    32.142       1.0000         .10000E-03   10000.    
    11 'Prefactor '    99.355       1.0000         .10000E-03   10000.    
    12 'norm      '    .58325       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.529       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.4403       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.268       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1259       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90127       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10290.62     FROM MIGRAD    STATUS=CONVERGED    367 CALLS     1861 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     111.37        101.30        .95290E-03    .10003E-02
   2  norm          11.571        7.9515        .29442E-02    .92401E-03
   3  norm          37.936        46.259        .16268E-02    .47562E-03
   4  Prefactor     13.120        13.165        .27645E-02   -.11982E-03
   5  Prefactor     .10000E-03    15.650        .90712E-02** at limit **
   6  Prefactor     9.7253        14.053        .32113E-02   -.19449E-03
   7  norm          .42793        .66894        .19210E-01    .19910E-02
   8  Prefactor     4.8950        113.65        .45448E-02    .14863E-03
   9  Prefactor     .10000E-03    42.137        .90712E-02** at limit **
  10  norm          32.143        22.470        .17669E-02    .35440E-04
  11  Prefactor     99.355        74.382        .10083E-02    .83956E-04
  12  norm          .57465        6.2924        .87662E-01    .11427E-02
  13  Prefactor     30.536        17.203        .18129E-02   -.59369E-03
  14  Prefactor     .10000E-03    6.8305        .90712E-02** at limit **
  15  norm          3.4403        1.3915        .54516E-02    .30339E-03
  16  norm          .10000E-03    30.770        .90712E-02** at limit **
  17  Prefactor     23.268        14.758        .20760E-02   -.99952E-04
  18  Normalizat    1.1258        .23295        .88931E-01    .30610E-04
  19  Prefactor     .90133        .82271E-01    .45021E-01    .98523E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 111.372
  norm       = 11.5714
  norm       = 37.9365
  Prefactor  = 13.1199
  Prefactor  = 0.0001
  Prefactor  = 9.72533
  norm       = 0.427932
  Prefactor  = 4.89497
  Prefactor  = 0.0001
  norm       = 32.1433
  Prefactor  = 99.3546
  norm       = 0.574646
  Prefactor  = 30.5356
  Prefactor  = 0.0001
  norm       = 3.44031
  norm       = 0.0001
  Prefactor  = 23.2678
  Normalizat = 1.12584
  Prefactor  = 0.90133
 **********
 **   18 **HESSE 
 **********

 FCN=   10290.62     FROM HESSE     STATUS=OK           272 CALLS     2133 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     111.37        101.30        .38116E-04   -1.3593    
   2  norm          11.571        7.9504        .11777E-03   -1.5027    
   3  norm          37.936        46.263        .65072E-04   -1.4475    
   4  Prefactor     13.120        13.179        .11058E-03   -1.4983    
   5  Prefactor     .10000E-03    15.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.7253        14.024        .12845E-03   -1.5084    
   7  norm          .42793        .55175        .92570E-03   -1.5577    
   8  Prefactor     4.8950        105.43        .18179E-03   -1.5265    
   9  Prefactor     .10000E-03    42.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          32.143        22.471        .70676E-04   -1.4573    
  11  Prefactor     99.355        74.274        .40331E-04   -1.3711    
  12  norm          .57465        31.721        .45537E-02   -1.5556    
  13  Prefactor     30.536        16.964        .72514E-04   -1.4602    
  14  Prefactor     .10000E-03    6.8316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.4403        1.3924        .72702E-04   -1.5337    
  16  norm          .10000E-03    30.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.268        14.792        .83041E-04   -1.4743    
  18  Normalizat    1.1258        .28088        .39384E-03   -.88926    
  19  Prefactor     .90133        .10034        .15832E-03   -.96095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8235e-08
Minuit parameter uncertainties:
  1  101.463
  2  7.95115
  3  46.3065
  4  13.1816
  5  4.01809e-05
  6  14.0291
  7  0.55176
  8  45.5265
  9  7.9422e-05
  10  22.4765
  11  74.3435
  12  8.54294
  13  16.9671
  14  5.74492e-06
  15  1.39243
  16  0.000181436
  17  14.7945
  18  0.281259
  19  0.10036
Done.

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

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  5.746e-01  8.543e+00  1.000e-04  1.000e+04 ( 1.000e-12)
436        alpha:  2.313e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
437         beta:  1.311e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
438           Eb:  6.088e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
736    Prefactor:  9.013e-01  1.004e-01  0.000e+00  1.000e+01 ( 1.000e+00)
737        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
738        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
732   Normalization:  1.126e+00  2.813e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 285.743 -67.807
Photon Flux Upper Limit: 9.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/496055/likelihoodResults_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.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): 102
logL (Free Index) = 10290.4780158
delta logL = 0.137132140459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10290.4195396
delta logL = 0.195608335533

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10290.42     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      263 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9598        7.1999        .11114E-02   -.88353E-03
   2  alpha         3.5592        3.7701        .18901E-02   -.43114E-04
   3  Normalizat    1.0859        .27663        .40002E-03   -.54169E-04
   4  Prefactor     .90864        .99353E-01    .15770E-03   -.43170E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.95985
  alpha      = 3.55918
  Normalizat = 1.08587
  Prefactor  = 0.908636
 **********
 **   18 **HESSE 
 **********

 FCN=   10290.42     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9598        5.5538        .44455E-04   -1.5428    
   2  alpha         3.5592        1.6671        .75606E-04    .43749    
   3  Normalizat    1.0859        .27711        .16001E-04   -.90207    
   4  Prefactor     .90864        .99431E-01    .31541E-04   -.95840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76727e-10
Minuit parameter uncertainties:
  1  5.55525
  2  1.87369
  3  0.277481
  4  0.0994512
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/496055': 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) = 10290.4195382
delta logL = 0.195609751534

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  1.960e+00  5.555e+00  1.000e-04  1.000e+04 ( 1.000e-12)
436        alpha:  3.559e+00  1.874e+00  0.000e+00  5.000e+00 ( 1.000e+00)
437         beta:  1.311e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
438           Eb:  6.088e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
736    Prefactor:  9.086e-01  9.945e-02  0.000e+00  1.000e+01 ( 1.000e+00)
737        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
738        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
732   Normalization:  1.086e+00  2.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 285.743 -67.807

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/496055/cmap_HighResolution_507340801_507600001_4FGL_J1902.9-6748_daily_bin1034.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-05', job_status='DONE', photon_flux_upper_limit='9.08e-08', time_completed='2021-09-21 22:31:39.553932', job_id='496055', GAL2='0.91', fit_tolerance='1e-08', EG2='1.09', EG='1.13', time_epoch_completed='1632288699.55', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.96e-01', ts2='0.42', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1034' AND source_name='4FGL J1902.9-6748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 21 22:31:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 496055: <4FGL_J1902.9-6748_daily_bin1034> in cluster <slac> Done

Job <4FGL_J1902.9-6748_daily_bin1034> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 21 22:16:05 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 21 22:16:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 21 22:16:06 2021
Terminated at Tue Sep 21 22:31:39 2021
Results reported at Tue Sep 21 22:31:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1902.9-6748_daily_bin1034 285.743 -67.8068 507340801 507600001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1902.9-6748 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   894.41 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             321.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            934 sec.

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

