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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1436
RA = 135.175, Dec = -12.7201
tmin = 611539201, tmax = 611798401
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='935131', job_status='RUN', time_executed='2021-08-30 20:51:18.997868', time_epoch_executed='1630381879.0' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1436'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/935131

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/935131/ft1_4FGL_J0900.7-1243_daily_bin1436.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/935131/ft2_4FGL_J0900.7-1243_daily_bin1436.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/935131/ft1_4FGL_J0900.7-1243_daily_bin1436.fits outfile=/scratch/kocevski/935131/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1436.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=611539201.0 tmax=611798401.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.32
user 3.21
sys 1.07

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/935131/ft2_4FGL_J0900.7-1243_daily_bin1436.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/935131/ft2_4FGL_J0900.7-1243_daily_bin1436.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/935131/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1436.fits evtable="EVENTS" outfile="/scratch/kocevski/935131/ft1_filtered_4FGL_J0900.7-1243_daily_bin1436.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 1.46
user 0.32
sys 1.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/935131/ft1_filtered_4FGL_J0900.7-1243_daily_bin1436.fits" evtable="EVENTS" scfile=/scratch/kocevski/935131/ft2_4FGL_J0900.7-1243_daily_bin1436.fits sctable="SC_DATA" outfile=/scratch/kocevski/935131/ltcube_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.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/935131/ft2_4FGL_J0900.7-1243_daily_bin1436.fits
.....................!
real 13.47
user 11.86
sys 1.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/935131/ft1_filtered_4FGL_J0900.7-1243_daily_bin1436.fits evtable="EVENTS" scfile=/scratch/kocevski/935131/ft2_4FGL_J0900.7-1243_daily_bin1436.fits sctable="SC_DATA" expcube=/scratch/kocevski/935131/ltcube_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.fits outfile=/scratch/kocevski/935131/expmap_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.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/935131/ltcube_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.fits
.....................!
real 195.55
user 187.10
sys 7.26

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

Setting source of interest to:
4FGL J0900.7-1243 @ 135.175 -12.7201

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/935131/ft1_filtered_4FGL_J0900.7-1243_daily_bin1436.fits scfile=/scratch/kocevski/935131/ft2_4FGL_J0900.7-1243_daily_bin1436.fits outfile=/scratch/kocevski/935131/cmap_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.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=135.175 yref=-12.7201 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 1.47
user 0.37
sys 1.08

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/935131/ft1_filtered_4FGL_J0900.7-1243_daily_bin1436.fits scfile=/scratch/kocevski/935131/ft2_4FGL_J0900.7-1243_daily_bin1436.fits outfile=/scratch/kocevski/935131/cmap_HighResolution_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.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=135.175 yref=-12.7201 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 1.58
user 0.37
sys 1.10

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/935131/ft1_filtered_4FGL_J0900.7-1243_daily_bin1436.fits evtable="EVENTS" scfile=/scratch/kocevski/935131/ft2_4FGL_J0900.7-1243_daily_bin1436.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/935131/Model_4FGL_J0900.7-1243_daily_bin1436.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/935131/ft1_filtered_4FGL_J0900.7-1243_daily_bin1436.fits.....................!
real 71.81
user 66.00
sys 2.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/935131/ft1_filtered_4FGL_J0900.7-1243_daily_bin1436.fits', '/scratch/kocevski/935131/ft2_4FGL_J0900.7-1243_daily_bin1436.fits', expMap='/scratch/kocevski/935131/expmap_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.fits', expCube='/scratch/kocevski/935131/ltcube_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/935131/Model_4FGL_J0900.7-1243_daily_bin1436.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0900.7-1243'

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  2.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.278e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/935131/ft1_filtered_4FGL_J0900.7-1243_daily_bin1436.fits
Spacecraft file(s): /scratch/kocevski/935131/ft2_4FGL_J0900.7-1243_daily_bin1436.fits
Exposure map: /scratch/kocevski/935131/expmap_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.fits
Exposure cube: /scratch/kocevski/935131/ltcube_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/935131/Model_4FGL_J0900.7-1243_daily_bin1436.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) = 5818.82809178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0980       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12933E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    22.560       1.0000         .10000E-03   10000.    
     7 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10920E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.892       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10101E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.347       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.232       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10691E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.4858       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1214       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96151       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5818.776     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     1963 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5194        .47349E-07** at limit **
   2  Prefactor     1.0975        3.7914        .18461E-05    .28875E-03
   3  norm          .10000E-03    7.8986        .58437E-07** at limit **
   4  norm          .10000E-03    7.0009        .40948E-06** at limit **
   5  Prefactor     .10046E-03    26.797        .28044E-05** at limit **
   6  norm          22.555        13.123       -.12047E-06   -.18287E-03
   7  norm          .10000E-03    2.4280        .22331E-07** at limit **
   8  Prefactor     .10046E-03    4.5544       -.15138E-05** at limit **
   9  Prefactor     11.889        18.607        .18028E-06   -.31879E-04
  10  Prefactor     .10000E-03    4.8749        .13577E-06** at limit **
  11  norm          .10000E-03    4.8074        .26914E-06** at limit **
  12  Prefactor     15.360        20.999       -.26951E-06   -.72665E-04
  13  Prefactor     24.165        47.844       -.46060E-05   -.19645E-03
  14  Prefactor     .10000E-03    13.861        .12387E-06** at limit **
  15  Prefactor     .10000E-03    16.975       -.94826E-07** at limit **
  16  Prefactor     .10000E-03    23.740       -.52970E-06** at limit **
  17  Prefactor     .10000E-03    19.934       -.97661E-06** at limit **
  18  norm          1.4784        11.169        .23479E-05    .54778E-04
  19  norm          .10000E-03    1.2003        .13382E-07** at limit **
  20  Normalizat    1.1215        .21969       -.10567E-06   -.19410E-03
  21  Prefactor     .96157        .12281       -.82450E-06   -.17961E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.09751
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100463
  norm       = 22.555
  norm       = 0.0001
  Prefactor  = 0.000100459
  Prefactor  = 11.8885
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 15.3596
  Prefactor  = 24.1653
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.47844
  norm       = 0.0001
  Normalizat = 1.12147
  Prefactor  = 0.961568
 **********
 **   18 **HESSE 
 **********

 FCN=   5818.776     FROM HESSE     STATUS=OK           317 CALLS     2280 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5224        .13976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.0975        3.8084        .26998E-03   -1.5498    
   3  norm          .10000E-03    7.9072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    7.1122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10046E-03    209.38        .72191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          22.555        13.061        .84330E-04   -1.4758    
   7  norm          .10000E-03    2.4490        .11581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10046E-03    36.407        .27975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.889        18.575        .11617E-03   -1.5018    
  10  Prefactor     .10000E-03    4.9072        .16450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    79.971        .31890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.360        20.931        .10224E-03   -1.4924    
  13  Prefactor     24.165        48.970        .81374E-04   -1.4724    
  14  Prefactor     .10000E-03    13.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    16.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.4784        11.690        .35191E-03   -1.5465    
  19  norm          .10000E-03    1.2014        .81618E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1215        .25170        .30721E-03   -.89065    
  21  Prefactor     .96157        .14118        .18830E-03   -.94022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49045e-08
Minuit parameter uncertainties:
  1  1.46523e-06
  2  3.80922
  3  4.52744e-06
  4  4.36419e-05
  5  0.0197681
  6  13.0629
  7  3.09003e-06
  8  0.00818128
  9  18.584
  10  9.69979e-06
  11  0.000609479
  12  20.9405
  13  49.0512
  14  2.0071e-05
  15  1.47812e-05
  16  4.78288e-05
  17  8.46234e-05
  18  8.31651
  19  4.76319e-07
  20  0.251972
  21  0.141231
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.189e+01  1.858e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.278e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.616e-01  1.412e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.121e+00  2.520e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.54
Ra Dec: 135.175 -12.720
Photon Flux Upper Limit: 1.57e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/935131/likelihoodResults_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.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) = 5818.77214821
delta logL = 0.00359850700352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5818.77093937
delta logL = 0.00480734799385

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.846       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1937       1.0000          .0000       10.000    
     3 'Normalizat'    1.1242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96062       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+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=   5818.771     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      268 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.845        21.862        .11176E-03    .30344E-03
   2  Index         2.1937        .87867        .10205E-01    .94596E-04
   3  Normalizat    1.1242        .24506        .30688E-03   -.62496E-04
   4  Prefactor     .96064        .14013        .18838E-03   -.11488E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.8452
  Index      = 2.1937
  Normalizat = 1.12418
  Prefactor  = 0.960643
 **********
 **   18 **HESSE 
 **********

 FCN=   5818.771     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.845        21.068        .44705E-05   -1.4991    
   2  Index         2.1937        .84657        .40818E-03   -.59591    
   3  Normalizat    1.1242        .24509        .12275E-04   -.88979    
   4  Prefactor     .96064        .14015        .37676E-04   -.94053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17697e-10
Minuit parameter uncertainties:
  1  21.0803
  2  0.852592
  3  0.245337
  4  0.140203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/935131': 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) = 5818.77093935
delta logL = 0.00480736573809

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.285e+01  2.108e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.194e+00  8.526e-01  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.606e-01  1.402e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.124e+00  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.54
Ra Dec: 135.175 -12.720

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/935131/cmap_HighResolution_611539201_611798401_4FGL_J0900.7-1243_daily_bin1436.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', job_status='DONE', photon_flux_upper_limit='1.57e-07', time_completed='2021-08-30 21:01:17.926441', job_id='935131', GAL2='0.96', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1630382477.93', return_code2='0', ts='0.54', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='4.81e-03', ts2='0.55', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1436' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:01:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 935131: <4FGL_J0900.7-1243_daily_bin1436> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin1436> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug 30 20:50:42 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:50:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 20:50:45 2021
Terminated at Mon Aug 30 21:01:19 2021
Results reported at Mon Aug 30 21:01:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1436 135.175 -12.7201 611539201 611798401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0900.7-1243 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   597.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             359.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            637 sec.

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

