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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1402
RA = 135.175, Dec = -12.7201
tmin = 602726401, tmax = 602985601
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='935018', job_status='RUN', time_executed='2021-08-30 20:52:02.684991', time_epoch_executed='1630381922.69' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/935018

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/935018/ft1_4FGL_J0900.7-1243_daily_bin1402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/935018/ft2_4FGL_J0900.7-1243_daily_bin1402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/935018/ft1_4FGL_J0900.7-1243_daily_bin1402.fits outfile=/scratch/kocevski/935018/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1402.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=602726401.0 tmax=602985601.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.34
user 2.80
sys 0.45

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/935018/ft2_4FGL_J0900.7-1243_daily_bin1402.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/935018/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1402.fits evtable="EVENTS" outfile="/scratch/kocevski/935018/ft1_filtered_4FGL_J0900.7-1243_daily_bin1402.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.73
user 0.33
sys 0.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/935018/ft1_filtered_4FGL_J0900.7-1243_daily_bin1402.fits" evtable="EVENTS" scfile=/scratch/kocevski/935018/ft2_4FGL_J0900.7-1243_daily_bin1402.fits sctable="SC_DATA" outfile=/scratch/kocevski/935018/ltcube_602726401_602985601_4FGL_J0900.7-1243_daily_bin1402.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/935018/ft2_4FGL_J0900.7-1243_daily_bin1402.fits
.....................!
real 12.45
user 11.80
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/935018/ft1_filtered_4FGL_J0900.7-1243_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/935018/ft2_4FGL_J0900.7-1243_daily_bin1402.fits sctable="SC_DATA" expcube=/scratch/kocevski/935018/ltcube_602726401_602985601_4FGL_J0900.7-1243_daily_bin1402.fits outfile=/scratch/kocevski/935018/expmap_602726401_602985601_4FGL_J0900.7-1243_daily_bin1402.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/935018/ltcube_602726401_602985601_4FGL_J0900.7-1243_daily_bin1402.fits
.....................!
real 190.27
user 185.31
sys 4.53

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/935018/ft1_filtered_4FGL_J0900.7-1243_daily_bin1402.fits scfile=/scratch/kocevski/935018/ft2_4FGL_J0900.7-1243_daily_bin1402.fits outfile=/scratch/kocevski/935018/cmap_602726401_602985601_4FGL_J0900.7-1243_daily_bin1402.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.77
user 0.38
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/935018/ft1_filtered_4FGL_J0900.7-1243_daily_bin1402.fits scfile=/scratch/kocevski/935018/ft2_4FGL_J0900.7-1243_daily_bin1402.fits outfile=/scratch/kocevski/935018/cmap_HighResolution_602726401_602985601_4FGL_J0900.7-1243_daily_bin1402.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.78
user 0.38
sys 0.38

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/935018/ft1_filtered_4FGL_J0900.7-1243_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/935018/ft2_4FGL_J0900.7-1243_daily_bin1402.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/935018/Model_4FGL_J0900.7-1243_daily_bin1402.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/935018/ft1_filtered_4FGL_J0900.7-1243_daily_bin1402.fits.....................!
real 48.95
user 45.63
sys 1.52

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4200       1.0000         .10000E-03   10000.    
     3 'norm      '    36.851       1.0000         .10000E-03   10000.    
     4 'norm      '    14.167       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.6462       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.704       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0640       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.8508       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10623E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.7227       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13716E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10134E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .42416       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1036       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=   3500.251     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     2721 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.752       -.33665E-05** at limit **
   2  Prefactor     1.4207        4.9451       -.95434E-06   -.49947E-03
   3  norm          36.859        32.453       -.34695E-06    .25579E-04
   4  norm          14.170        10.108       -.39893E-06   -.39189E-04
   5  Prefactor     .10000E-03    13.741       -.18260E-05** at limit **
   6  norm          .10000E-03    14.489       -.10567E-04** at limit **
   7  norm          3.6467        4.5703        .15837E-06   -.87067E-03
   8  Prefactor     15.708        10.960       -.62505E-06   -.32681E-04
   9  Prefactor     3.0748        44.589       -.11027E-04   -.13382E-04
  10  Prefactor     .10000E-03    12.952        .11278E-04** at limit **
  11  norm          3.8368        30.804        .47307E-05   -.52385E-04
  12  Prefactor     .10000E-03    59.340        .67085E-05** at limit **
  13  Prefactor     3.6366        61.579        .66128E-05   -.23361E-04
  14  Prefactor     .10000E-03    58.100       -.45638E-05** at limit **
  15  Prefactor     .10000E-03    34.541       -.16894E-05** at limit **
  16  Prefactor     .10000E-03    189.64       -.13750E-04** at limit **
  17  Prefactor     .10000E-03    16.272        .49610E-05** at limit **
  18  norm          .10000E-03    9.9288        .19890E-06** at limit **
  19  norm          .10000E-03    3.4648       -.17623E-07** at limit **
  20  Normalizat    .42374        .34327        .25552E-05    .22649E-04
  21  Prefactor     1.1037        .16574        .93537E-07    .83489E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.42068
  norm       = 36.8588
  norm       = 14.1698
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.64667
  Prefactor  = 15.7075
  Prefactor  = 3.07476
  Prefactor  = 0.0001
  norm       = 3.83684
  Prefactor  = 0.0001
  Prefactor  = 3.63661
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.423741
  Prefactor  = 1.10371
 **********
 **   18 **HESSE 
 **********

 FCN=   3500.251     FROM HESSE     STATUS=OK           311 CALLS     3032 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4207        4.9631        .23855E-03   -1.5470    
   3  norm          36.859        32.425        .66020E-04   -1.4493    
   4  norm          14.170        10.059        .10641E-03   -1.4955    
   5  Prefactor     .10000E-03    13.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    14.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.6467        4.5318        .64913E-03   -1.5326    
   8  Prefactor     15.708        10.896        .10107E-03   -1.4915    
   9  Prefactor     3.0748        42.724        .23175E-03   -1.5357    
  10  Prefactor     .10000E-03    12.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.8368        30.382        .20565E-03   -1.5316    
  12  Prefactor     .10000E-03    59.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.6366        60.791        .20929E-03   -1.5327    
  14  Prefactor     .10000E-03    58.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    34.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    191.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    10.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.4661        .10756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .42374        .34649        .47821E-03   -1.1609    
  21  Prefactor     1.1037        .17448        .15834E-03   -.89348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8237e-10
Minuit parameter uncertainties:
  1  3.81743e-06
  2  4.9645
  3  32.4403
  4  10.0601
  5  1.95491e-06
  6  0.000133399
  7  4.53223
  8  10.8969
  9  22.9424
  10  2.36694e-05
  11  21.6086
  12  0.000170462
  13  29.7723
  14  2.27782e-05
  15  1.00024e-05
  16  0.00016187
  17  2.73304e-05
  18  7.66298e-06
  19  9.24459e-07
  20  0.348262
  21  0.174566
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  3.075e+00  2.294e+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:  1.104e+00  1.746e-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:  4.237e-01  3.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/935018/likelihoodResults_602726401_602985601_4FGL_J0900.7-1243_daily_bin1402.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) = 3499.9514321
delta logL = 0.300040619295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3499.84680217
delta logL = 0.404670547649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94076       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9757       1.0000          .0000       10.000    
     3 'Normalizat'    .31525       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1368       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=   3499.847     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      233 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .93890        24.011        .12955E-01    .68071E-03
   2  Index         3.9778        3.3466        .99222E-01    .11706E-03
   3  Normalizat    .31461        .71346E-01    .12487        .31589E-04
   4  Prefactor     1.1370        .37017E-01    .36329E-01   -.25201E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.938898
  Index      = 3.97782
  Normalizat = 0.314611
  Prefactor  = 1.13703
 **********
 **   18 **HESSE 
 **********

 FCN=   3499.847     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      268 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .93890        58.398        .65141E-03   -1.5514    
   2  Index         3.9778        6.9784        .50002E-02   -.20589    
   3  Normalizat    .31461        .27045        .55269E-03   -1.2198    
   4  Prefactor     1.1370        .13799        .15619E-03   -.88292    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.204e-10
Minuit parameter uncertainties:
  1  14.8237
  2  7.12873
  3  0.271579
  4  0.138033
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/935018': 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) = 3499.84679876
delta logL = 0.404673963335

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  9.389e-01  1.482e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  3.978e+00  7.129e+00  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.137e+00  1.380e-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:  3.146e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/935018/cmap_HighResolution_602726401_602985601_4FGL_J0900.7-1243_daily_bin1402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-02', job_status='DONE', photon_flux_upper_limit='1.75e-07', time_completed='2021-08-30 21:00:26.049269', job_id='935018', GAL2='1.14', fit_tolerance='1e-08', EG2='0.31', EG='0.42', time_epoch_completed='1630382426.05', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='4.05e-01', ts2='0.95', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1402' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:00:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 935018: <4FGL_J0900.7-1243_daily_bin1402> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin1402> 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) <bullet0260>, 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:00:26 2021
Results reported at Mon Aug 30 21:00:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1402 135.175 -12.7201 602726401 602985601 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 :                                   487.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   586 sec.
    Turnaround time :                            587 sec.

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

