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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1406
RA = 135.175, Dec = -12.7201
tmin = 603763201, tmax = 604022401
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='935027', job_status='RUN', time_executed='2021-08-30 20:52:10.001070', time_epoch_executed='1630381930.0' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1406'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/935027

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/935027/ft1_4FGL_J0900.7-1243_daily_bin1406.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/935027/ft2_4FGL_J0900.7-1243_daily_bin1406.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/935027/ft1_4FGL_J0900.7-1243_daily_bin1406.fits outfile=/scratch/kocevski/935027/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1406.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=603763201.0 tmax=604022401.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.90
user 3.94
sys 0.91

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/935027/ft1_filtered_4FGL_J0900.7-1243_daily_bin1406.fits" evtable="EVENTS" scfile=/scratch/kocevski/935027/ft2_4FGL_J0900.7-1243_daily_bin1406.fits sctable="SC_DATA" outfile=/scratch/kocevski/935027/ltcube_603763201_604022401_4FGL_J0900.7-1243_daily_bin1406.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/935027/ft2_4FGL_J0900.7-1243_daily_bin1406.fits
.....................!
real 12.79
user 11.60
sys 1.15

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/935027/ft1_filtered_4FGL_J0900.7-1243_daily_bin1406.fits evtable="EVENTS" scfile=/scratch/kocevski/935027/ft2_4FGL_J0900.7-1243_daily_bin1406.fits sctable="SC_DATA" expcube=/scratch/kocevski/935027/ltcube_603763201_604022401_4FGL_J0900.7-1243_daily_bin1406.fits outfile=/scratch/kocevski/935027/expmap_603763201_604022401_4FGL_J0900.7-1243_daily_bin1406.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/935027/ltcube_603763201_604022401_4FGL_J0900.7-1243_daily_bin1406.fits
.....................!
real 192.37
user 186.89
sys 5.05

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/935027/ft1_filtered_4FGL_J0900.7-1243_daily_bin1406.fits scfile=/scratch/kocevski/935027/ft2_4FGL_J0900.7-1243_daily_bin1406.fits outfile=/scratch/kocevski/935027/cmap_603763201_604022401_4FGL_J0900.7-1243_daily_bin1406.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.37
user 0.37
sys 0.84

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/935027/ft1_filtered_4FGL_J0900.7-1243_daily_bin1406.fits scfile=/scratch/kocevski/935027/ft2_4FGL_J0900.7-1243_daily_bin1406.fits outfile=/scratch/kocevski/935027/cmap_HighResolution_603763201_604022401_4FGL_J0900.7-1243_daily_bin1406.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.32
user 0.37
sys 0.86

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/935027/ft1_filtered_4FGL_J0900.7-1243_daily_bin1406.fits evtable="EVENTS" scfile=/scratch/kocevski/935027/ft2_4FGL_J0900.7-1243_daily_bin1406.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/935027/Model_4FGL_J0900.7-1243_daily_bin1406.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/935027/ft1_filtered_4FGL_J0900.7-1243_daily_bin1406.fits.....................!
real 53.80
user 50.47
sys 2.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.045       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10715E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.8041       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.481       1.0000         .10000E-03   10000.    
     6 'norm      '    .10230E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.9417       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.2634       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10393E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .77544       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.327       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.991       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10181E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1173       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98077       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=   4315.852     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     2164 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.044        13.244        .12154E-06   -.11727E-04
   2  Prefactor     .10000E-03    3.4587        .29846E-06** at limit **
   3  norm          .10000E-03    19.086        .18202E-05** at limit **
   4  norm          1.8158        10.041        .32050E-06   -.23909E-04
   5  Prefactor     27.505        51.026       -.85501E-05   -.18688E-03
   6  norm          .10000E-03    4.9918       -.45218E-06** at limit **
   7  norm          7.9247        4.9967       -.50821E-06   -.49989E-03
   8  Prefactor     1.2660        6.4592        .14575E-05   -.93743E-03
   9  Prefactor     .10003E-03    100.07       -.19847E-04** at limit **
  10  Prefactor     .10000E-03    3.7123       -.99346E-07** at limit **
  11  norm          .77723        5.1233        .18036E-05   -.11641E-02
  12  Prefactor     16.343        22.642       -.24054E-05   -.12720E-03
  13  Prefactor     .10000E-03    13.550       -.14880E-05** at limit **
  14  Prefactor     .10000E-03    59.558       -.43067E-05** at limit **
  15  Prefactor     12.018        41.073       -.97218E-05   -.14723E-03
  16  Prefactor     .10000E-03    15.397        .15075E-05** at limit **
  17  Prefactor     .10000E-03    20.885       -.73735E-06** at limit **
  18  norm          .10000E-03    5.7158       -.12122E-06** at limit **
  19  norm          .10000E-03    4.9039        .47667E-06** at limit **
  20  Normalizat    1.1169        .29510        .58266E-05   -.41904E-03
  21  Prefactor     .98058        .15354       -.35300E-05   -.55416E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0438
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.81579
  Prefactor  = 27.505
  norm       = 0.0001
  norm       = 7.92467
  Prefactor  = 1.26599
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  norm       = 0.777231
  Prefactor  = 16.3432
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 12.0181
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.11695
  Prefactor  = 0.980581
 **********
 **   18 **HESSE 
 **********

 FCN=   4315.852     FROM HESSE     STATUS=OK           309 CALLS     2473 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.044        13.244        .10688E-03   -1.4958    
   2  Prefactor     .10000E-03    3.4870        .11935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    19.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.8158        9.9713        .31117E-03   -1.5438    
   5  Prefactor     27.505        51.188        .76422E-04   -1.4659    
   6  norm          .10000E-03    4.9950        .14329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.9247        4.9031        .11035E-03   -1.5145    
   8  Prefactor     1.2660        8.9622        .18375E-02   -1.5483    
   9  Prefactor     .10003E-03    106.81        .52578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.7157        .12361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .77723        13.224        .22750E-02   -1.5532    
  12  Prefactor     16.343        22.585        .99120E-04   -1.4899    
  13  Prefactor     .10000E-03    13.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    59.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.018        41.546        .11569E-03   -1.5014    
  16  Prefactor     .10000E-03    15.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.7503        .15337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    10.568        .28230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1169        .30976        .31870E-03   -.89210    
  21  Prefactor     .98058        .16537        .18619E-03   -.93380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16166e-08
Minuit parameter uncertainties:
  1  13.2471
  2  1.58344e-05
  3  0.00018022
  4  8.51215
  5  51.2696
  6  1.12531e-05
  7  4.90333
  8  6.73794
  9  0.00367224
  10  3.19544e-06
  11  6.41316
  12  22.5963
  13  0.00012084
  14  0.000647072
  15  41.6459
  16  0.00012891
  17  8.2719e-05
  18  3.19046e-06
  19  0.000142497
  20  0.310268
  21  0.165455
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  3.672e-03  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.806e-01  1.655e-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.117e+00  3.103e-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: 1.50e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/935027/likelihoodResults_603763201_604022401_4FGL_J0900.7-1243_daily_bin1406.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) = 4315.85193768
delta logL = -4.38912729805e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4315.8518875
delta logL = 6.28674479231e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23648E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4110       1.0000          .0000       10.000    
     3 'Normalizat'    1.1169       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98065       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.

 FCN=   4315.759     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      280 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3606        111.85        .10036E-01    .90256E-03
   2  Index         3.3508        6.6569        .14672        .93994E-04
   3  Normalizat    1.0852        .58657E-01    .72908E-01    .97178E-04
   4  Prefactor     .98766        .32477E-01    .46025E-01    .56861E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.36062
  Index      = 3.35078
  Normalizat = 1.08523
  Prefactor  = 0.987664
 **********
 **   18 **HESSE 
 **********

 FCN=   4315.759     FROM HESSE     STATUS=OK            31 CALLS      311 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3606        1824.1        .17404E-03   -1.5475    
   2  Index         3.3508        6.1018        .91394E-02   -.33614    
   3  Normalizat    1.0852        .29875        .32264E-03   -.90227    
   4  Prefactor     .98766        .17931        .18554E-03   -.93142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26849e-10
Minuit parameter uncertainties:
  1  102.951
  2  32.2234
  3  0.299215
  4  0.179416
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/935027': 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) = 4315.75903646
delta logL = 0.0928573300007

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.361e+00  1.030e+02  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  3.351e+00  3.222e+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.877e-01  1.794e-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.085e+00  2.992e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/935027/cmap_HighResolution_603763201_604022401_4FGL_J0900.7-1243_daily_bin1406.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', job_status='DONE', photon_flux_upper_limit='1.50e-07', time_completed='2021-08-30 21:01:04.034879', job_id='935027', GAL2='0.99', fit_tolerance='1e-08', EG2='1.09', EG='1.12', time_epoch_completed='1630382464.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='9.29e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1406' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:01:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 935027: <4FGL_J0900.7-1243_daily_bin1406> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1406 135.175 -12.7201 603763201 604022401 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 :                                   526.08 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             296.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            625 sec.

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

