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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1409
RA = 135.175, Dec = -12.7201
tmin = 604540801, tmax = 604800001
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='935052', job_status='RUN', time_executed='2021-08-30 20:51:12.420347', time_epoch_executed='1630381872.42' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1409'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/935052

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/935052/ft1_4FGL_J0900.7-1243_daily_bin1409.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/935052/ft2_4FGL_J0900.7-1243_daily_bin1409.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/935052/ft1_4FGL_J0900.7-1243_daily_bin1409.fits outfile=/scratch/kocevski/935052/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1409.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=604540801.0 tmax=604800001.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.67
user 3.38
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/935052/ft2_4FGL_J0900.7-1243_daily_bin1409.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/935052/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1409.fits evtable="EVENTS" outfile="/scratch/kocevski/935052/ft1_filtered_4FGL_J0900.7-1243_daily_bin1409.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.33
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/935052/ft1_filtered_4FGL_J0900.7-1243_daily_bin1409.fits" evtable="EVENTS" scfile=/scratch/kocevski/935052/ft2_4FGL_J0900.7-1243_daily_bin1409.fits sctable="SC_DATA" outfile=/scratch/kocevski/935052/ltcube_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.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/935052/ft2_4FGL_J0900.7-1243_daily_bin1409.fits
.....................!
real 11.82
user 11.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/935052/ft1_filtered_4FGL_J0900.7-1243_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/935052/ft2_4FGL_J0900.7-1243_daily_bin1409.fits sctable="SC_DATA" expcube=/scratch/kocevski/935052/ltcube_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.fits outfile=/scratch/kocevski/935052/expmap_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.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/935052/ltcube_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.fits
.....................!
real 189.46
user 185.02
sys 4.11

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/935052/ft1_filtered_4FGL_J0900.7-1243_daily_bin1409.fits scfile=/scratch/kocevski/935052/ft2_4FGL_J0900.7-1243_daily_bin1409.fits outfile=/scratch/kocevski/935052/cmap_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.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 0.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/935052/ft1_filtered_4FGL_J0900.7-1243_daily_bin1409.fits scfile=/scratch/kocevski/935052/ft2_4FGL_J0900.7-1243_daily_bin1409.fits outfile=/scratch/kocevski/935052/cmap_HighResolution_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.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 0.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/935052/ft1_filtered_4FGL_J0900.7-1243_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/935052/ft2_4FGL_J0900.7-1243_daily_bin1409.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/935052/Model_4FGL_J0900.7-1243_daily_bin1409.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/935052/ft1_filtered_4FGL_J0900.7-1243_daily_bin1409.fits.....................!
real 75.23
user 73.99
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/935052/ft1_filtered_4FGL_J0900.7-1243_daily_bin1409.fits', '/scratch/kocevski/935052/ft2_4FGL_J0900.7-1243_daily_bin1409.fits', expMap='/scratch/kocevski/935052/expmap_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.fits', expCube='/scratch/kocevski/935052/ltcube_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/935052/Model_4FGL_J0900.7-1243_daily_bin1409.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/935052/ft1_filtered_4FGL_J0900.7-1243_daily_bin1409.fits
Spacecraft file(s): /scratch/kocevski/935052/ft2_4FGL_J0900.7-1243_daily_bin1409.fits
Exposure map: /scratch/kocevski/935052/expmap_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.fits
Exposure cube: /scratch/kocevski/935052/ltcube_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/935052/Model_4FGL_J0900.7-1243_daily_bin1409.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) = 6991.15164957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11395E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    21.121       1.0000         .10000E-03   10000.    
     4 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .87572E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .39411E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    3.4099       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.192       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.1556       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2742       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.9495       1.0000         .10000E-03   10000.    
    18 'norm      '    .19798E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.2451       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .93904       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1139       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=   6991.075     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     1973 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.1046       -.14879E-06** at limit **
   2  Prefactor     .10000E-03    2.4234       -.29170E-07** at limit **
   3  norm          21.116        24.601        .48531E-06   -.11051E-04
   4  norm          .10000E-03    2.9136       -.66929E-07** at limit **
   5  Prefactor     .10006E-03    26.036       -.12690E-05** at limit **
   6  norm          .10001E-03    6.2417       -.19186E-06** at limit **
   7  norm          3.4149        3.1051       -.78623E-07   -.85311E-04
   8  Prefactor     .10000E-03    2.5654        .23196E-07** at limit **
   9  Prefactor     .10000E-03    6.1308        .19534E-06** at limit **
  10  Prefactor     .10000E-03    6.4975        .15861E-06** at limit **
  11  norm          .10000E-03    2.4786       -.77000E-08** at limit **
  12  Prefactor     10.182        18.789       -.79706E-05    .11025E-03
  13  Prefactor     9.1446        34.746        .17073E-05   -.17276E-04
  14  Prefactor     .10000E-03    15.319        .12334E-06** at limit **
  15  Prefactor     .10000E-03    32.907       -.28001E-06** at limit **
  16  Prefactor     5.2938        40.708       -.68151E-05   -.61180E-04
  17  Prefactor     7.9478        14.252       -.26796E-05   -.19960E-04
  18  norm          .10000E-03    4.9636        .84183E-06** at limit **
  19  norm          8.2444        4.2968       -.16082E-07   -.21258E-04
  20  Normalizat    .93914        .20496        .20327E-05   -.19207E-04
  21  Prefactor     1.1139        .11511       -.12044E-06    .12151E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.1156
  norm       = 0.0001
  Prefactor  = 0.000100062
  norm       = 0.00010001
  norm       = 3.41489
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.182
  Prefactor  = 9.14455
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.29379
  Prefactor  = 7.94776
  norm       = 0.000100002
  norm       = 8.24443
  Normalizat = 0.939138
  Prefactor  = 1.11389
 **********
 **   18 **HESSE 
 **********

 FCN=   6991.075     FROM HESSE     STATUS=OK           333 CALLS     2306 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.1539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4599        .12710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          21.116        24.596        .87153E-04   -1.4789    
   4  norm          .10000E-03    2.9385        .13936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10006E-03    28.021        .12026       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10001E-03    11.103        .61692E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.4149        3.1023        .13177E-03   -1.5338    
   8  Prefactor     .10000E-03    2.5930        .13072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.1475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.6051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.4868        .12854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.182        18.653        .12551E-03   -1.5070    
  13  Prefactor     9.1446        34.745        .13245E-03   -1.5103    
  14  Prefactor     .10000E-03    15.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    33.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.2938        37.036        .17502E-03   -1.5248    
  17  Prefactor     7.9478        14.291        .14221E-03   -1.5144    
  18  norm          .10000E-03    15.689        .33590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.2444        4.2968        .12178E-03   -1.5134    
  20  Normalizat    .93914        .23302        .32408E-03   -.95098    
  21  Prefactor     1.1139        .13197        .17873E-03   -.89024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34041e-10
Minuit parameter uncertainties:
  1  1.55491e-05
  2  3.00959e-06
  3  24.608
  4  4.47501e-06
  5  0.00263397
  6  0.000651132
  7  3.10243
  8  6.34648e-06
  9  7.07047e-06
  10  1.67861e-06
  11  6.54972e-06
  12  18.6639
  13  34.8218
  14  5.5475e-05
  15  6.10904e-06
  16  28.0289
  17  14.297
  18  0.000355672
  19  4.29693
  20  0.233267
  21  0.13201
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  7.070e-06  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:  1.114e+00  1.320e-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:  9.391e-01  2.333e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 135.175 -12.720
Photon Flux Upper Limit: 7.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/935052/likelihoodResults_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.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) = 6991.07595061
delta logL = -0.000774971783358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6991.07517568
delta logL = -4.55638655694e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2641       1.0000          .0000       10.000    
     3 'Normalizat'    .93911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1139       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=   6991.075     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      241 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10087E-03    71.715        .18142E-02** at limit **
   2  Index         2.2128        8.1322        .50000        .15256E-04
   3  Normalizat    .93914        .17468E-01    .32408E-03    .15295E-04
   4  Prefactor     1.1139        .10464E-01    .17873E-03    .37656E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100871
  Index      = 2.21279
  Normalizat = 0.939139
  Prefactor  = 1.11389
 **********
 **   18 **HESSE 
 **********

 FCN=   6991.075     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10087E-03    322.23        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2128        7.9818        .50000       -.59130    
   3  Normalizat    .93914        .38980E-01    .12963E-04   -.95098    
   4  Prefactor     1.1139        .23346E-01    .71492E-05   -.89024    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.90071e-08
Minuit parameter uncertainties:
  1  0.0336795
  2  751.066
  3  0.0389811
  4  0.0233466
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/935052': 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): 102
logL (Free Index) = 6991.07517543
delta logL = 2.01695911528e-07

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.009e-04  3.368e-02  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.213e+00  7.511e+02  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:  1.114e+00  2.335e-02  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:  9.391e-01  3.898e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/935052/cmap_HighResolution_604540801_604800001_4FGL_J0900.7-1243_daily_bin1409.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.18e-08', time_completed='2021-08-30 21:01:33.046606', job_id='935052', GAL2='1.11', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1630382493.05', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='2.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1409' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:01:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 935052: <4FGL_J0900.7-1243_daily_bin1409> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin1409> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug 30 20:50:40 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:50:42 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:42 2021
Terminated at Mon Aug 30 21:01:33 2021
Results reported at Mon Aug 30 21:01:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1409 135.175 -12.7201 604540801 604800001 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 :                                   611.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             338.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            653 sec.

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

