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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin960
RA = 135.175, Dec = -12.7201
tmin = 488160001, tmax = 488419201
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='931652', job_status='RUN', time_executed='2021-08-30 20:43:26.584217', time_epoch_executed='1630381406.58' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='960'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931652

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931652/ft1_4FGL_J0900.7-1243_daily_bin960.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931652/ft2_4FGL_J0900.7-1243_daily_bin960.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931652/ft1_4FGL_J0900.7-1243_daily_bin960.fits outfile=/scratch/kocevski/931652/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin960.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=488160001.0 tmax=488419201.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 5.79
user 5.12
sys 0.63

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/931652/ft2_4FGL_J0900.7-1243_daily_bin960.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/931652/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin960.fits evtable="EVENTS" outfile="/scratch/kocevski/931652/ft1_filtered_4FGL_J0900.7-1243_daily_bin960.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.91
user 0.31
sys 0.58

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931652/ft1_filtered_4FGL_J0900.7-1243_daily_bin960.fits" evtable="EVENTS" scfile=/scratch/kocevski/931652/ft2_4FGL_J0900.7-1243_daily_bin960.fits sctable="SC_DATA" outfile=/scratch/kocevski/931652/ltcube_488160001_488419201_4FGL_J0900.7-1243_daily_bin960.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/931652/ft2_4FGL_J0900.7-1243_daily_bin960.fits
.....................!
real 12.24
user 11.41
sys 0.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931652/ft1_filtered_4FGL_J0900.7-1243_daily_bin960.fits evtable="EVENTS" scfile=/scratch/kocevski/931652/ft2_4FGL_J0900.7-1243_daily_bin960.fits sctable="SC_DATA" expcube=/scratch/kocevski/931652/ltcube_488160001_488419201_4FGL_J0900.7-1243_daily_bin960.fits outfile=/scratch/kocevski/931652/expmap_488160001_488419201_4FGL_J0900.7-1243_daily_bin960.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/931652/ltcube_488160001_488419201_4FGL_J0900.7-1243_daily_bin960.fits
.....................!
real 191.34
user 185.97
sys 4.73

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/931652/ft1_filtered_4FGL_J0900.7-1243_daily_bin960.fits scfile=/scratch/kocevski/931652/ft2_4FGL_J0900.7-1243_daily_bin960.fits outfile=/scratch/kocevski/931652/cmap_488160001_488419201_4FGL_J0900.7-1243_daily_bin960.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.94
user 0.37
sys 0.54

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931652/ft1_filtered_4FGL_J0900.7-1243_daily_bin960.fits scfile=/scratch/kocevski/931652/ft2_4FGL_J0900.7-1243_daily_bin960.fits outfile=/scratch/kocevski/931652/cmap_HighResolution_488160001_488419201_4FGL_J0900.7-1243_daily_bin960.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.96
user 0.39
sys 0.53

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931652/ft1_filtered_4FGL_J0900.7-1243_daily_bin960.fits evtable="EVENTS" scfile=/scratch/kocevski/931652/ft2_4FGL_J0900.7-1243_daily_bin960.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931652/Model_4FGL_J0900.7-1243_daily_bin960.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/931652/ft1_filtered_4FGL_J0900.7-1243_daily_bin960.fits.....................!
real 61.03
user 59.00
sys 1.74

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .89260       1.0000         .10000E-03   10000.    
     3 'norm      '    5.9931       1.0000         .10000E-03   10000.    
     4 'norm      '    1.9418       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6288       1.0000         .10000E-03   10000.    
     6 'norm      '    1.9325       1.0000         .10000E-03   10000.    
     7 'norm      '    .30267       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9752       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4209       1.0000         .10000E-03   10000.    
    11 'norm      '    4.4686       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.184       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3291       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    60.302       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10311E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    42.557       1.0000         .10000E-03   10000.    
    18 'norm      '    .53772       1.0000         .10000E-03   10000.    
    19 'norm      '    3.1241       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0962       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92045       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=   5108.348     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2253 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.747        .16690E-06** at limit **
   2  Prefactor     .89187        3.1095        .51683E-06   -.31886E-05
   3  norm          5.9963        13.866        .17942E-05   -.42880E-04
   4  norm          1.9423        8.3751        .19833E-05   -.12154E-04
   5  Prefactor     3.6045        57.404        .33401E-05   -.48280E-05
   6  norm          1.9293        15.691        .14264E-05   -.12261E-04
   7  norm          .30917        2.5410       -.12192E-06    .99768E-05
   8  Prefactor     1.9729        6.6665        .10566E-04   -.19801E-03
   9  Prefactor     .10000E-03    9.4467        .67300E-07** at limit **
  10  Prefactor     2.4247        8.5151        .21910E-05   -.12507E-04
  11  norm          4.4612        8.4896       -.57726E-07   -.31155E-04
  12  Prefactor     12.194        18.080        .36893E-05   -.16709E-04
  13  Prefactor     1.2471        487.72        .33774E-04   -.51871E-04
  14  Prefactor     .10000E-03    22.595       -.16079E-05** at limit **
  15  Prefactor     60.349        44.194       -.28019E-05   -.70387E-04
  16  Prefactor     .10000E-03    17.764        .74808E-07** at limit **
  17  Prefactor     42.530        25.738       -.21674E-05   -.33185E-03
  18  norm          .53667        8.0418        .91482E-06   -.26035E-04
  19  norm          3.1237        3.1774        .10853E-06   -.12300E-04
  20  Normalizat    1.0963        .23938       -.37075E-05   -.53366E-03
  21  Prefactor     .92046        .13088       -.16366E-05   -.73392E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.891867
  norm       = 5.99632
  norm       = 1.94232
  Prefactor  = 3.60452
  norm       = 1.92934
  norm       = 0.309173
  Prefactor  = 1.97286
  Prefactor  = 0.0001
  Prefactor  = 2.42469
  norm       = 4.46118
  Prefactor  = 12.1937
  Prefactor  = 1.24707
  Prefactor  = 0.0001
  Prefactor  = 60.3493
  Prefactor  = 0.0001
  Prefactor  = 42.5302
  norm       = 0.536674
  norm       = 3.12365
  Normalizat = 1.09628
  Prefactor  = 0.920461
 **********
 **   18 **HESSE 
 **********

 FCN=   5108.348     FROM HESSE     STATUS=OK           329 CALLS     2582 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .89187        3.2008        .22721E-02   -1.5519    
   3  norm          5.9963        13.843        .16402E-03   -1.5218    
   4  norm          1.9423        8.3629        .29792E-03   -1.5429    
   5  Prefactor     3.6045        57.380        .21208E-03   -1.5328    
   6  norm          1.9293        16.043        .29876E-03   -1.5430    
   7  norm          .30917        11.628        .20213E-02   -1.5597    
   8  Prefactor     1.9729        6.6854        .14749E-02   -1.5427    
   9  Prefactor     .10000E-03    9.4760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.4247        8.4867        .26306E-03   -1.5397    
  11  norm          4.4612        8.4926        .19048E-03   -1.5286    
  12  Prefactor     12.194        18.155        .11476E-03   -1.5009    
  13  Prefactor     1.2471        507.30        .38102E-02   -1.5485    
  14  Prefactor     .10000E-03    22.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     60.349        44.224        .51668E-04   -1.4153    
  16  Prefactor     .10000E-03    17.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.530        25.817        .61451E-04   -1.4403    
  18  norm          .53667        28.133        .38444E-02   -1.5561    
  19  norm          3.1237        3.1841        .12524E-03   -1.5354    
  20  Normalizat    1.0963        .27785        .30377E-03   -.89871    
  21  Prefactor     .92046        .15368        .18717E-03   -.95430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8952e-08
Minuit parameter uncertainties:
  1  0.000196752
  2  3.20145
  3  13.8509
  4  8.06232
  5  28.7955
  6  11.1308
  7  3.79239
  8  6.68788
  9  1.65167e-05
  10  8.49092
  11  8.49492
  12  18.1631
  13  50.741
  14  7.58204e-05
  15  44.248
  16  3.02934e-05
  17  25.8237
  18  7.77441
  19  3.18428
  20  0.278223
  21  0.153755
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.652e-05  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.205e-01  1.538e-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.096e+00  2.782e-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: 9.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/931652/likelihoodResults_488160001_488419201_4FGL_J0900.7-1243_daily_bin960.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) = 5108.34834089
delta logL = -0.000502848932229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5108.34783828
delta logL = -2.40080225922e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2732       1.0000          .0000       10.000    
     3 'Normalizat'    1.0962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92052       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=   5108.348     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.412        .90712E-02** at limit **
   2  Index         2.2684        8.0636        .50000        .41537E-05
   3  Normalizat    1.0963        .66529E-02    .68658E-01    .37777E-04
   4  Prefactor     .92046        .38104E-02    .45266E-01    .40485E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.26843
  Normalizat = 1.09628
  Prefactor  = 0.920461
 **********
 **   18 **HESSE 
 **********

 FCN=   5108.348     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    97.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2684        5.2845        .50000       -.57796    
   3  Normalizat    1.0963        .19569E-01    .30377E-03   -.89871    
   4  Prefactor     .92046        .11219E-01    .18717E-03   -.95430    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.30886e-07
Minuit parameter uncertainties:
  1  5.81191e-05
  2  367.84
  3  0.0195693
  4  0.0112194
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931652': 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) = 5108.34783803
delta logL = 1.02918420453e-08

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  5.812e-05  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.268e+00  3.678e+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:  9.205e-01  1.122e-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:  1.096e+00  1.957e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/931652/cmap_HighResolution_488160001_488419201_4FGL_J0900.7-1243_daily_bin960.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.51e-03', job_status='DONE', photon_flux_upper_limit='9.80e-08', time_completed='2021-08-30 20:52:45.489382', job_id='931652', GAL2='0.92', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630381965.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.03e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='960' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:52:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 931652: <4FGL_J0900.7-1243_daily_bin960> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin960> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Aug 30 20:40:51 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:40:53 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:40:53 2021
Terminated at Mon Aug 30 20:52:46 2021
Results reported at Mon Aug 30 20:52:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin960 135.175 -12.7201 488160001 488419201 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 :                                   562.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             294.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            715 sec.

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

