/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 = 7484
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0900.7-1243_daily_bin364
RA = 135.175, Dec = -12.7201
tmin = 333676801, tmax = 333936001
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='927510', job_status='RUN', time_executed='2021-08-30 20:29:49.315668', time_epoch_executed='1630380589.32' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='364'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/927510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/927510/ft1_4FGL_J0900.7-1243_daily_bin364.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/927510/ft2_4FGL_J0900.7-1243_daily_bin364.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/927510/ft1_4FGL_J0900.7-1243_daily_bin364.fits outfile=/scratch/kocevski/927510/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin364.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=333676801.0 tmax=333936001.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 10.55
user 3.63
sys 6.84

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/927510/ft1_filtered_4FGL_J0900.7-1243_daily_bin364.fits" evtable="EVENTS" scfile=/scratch/kocevski/927510/ft2_4FGL_J0900.7-1243_daily_bin364.fits sctable="SC_DATA" outfile=/scratch/kocevski/927510/ltcube_333676801_333936001_4FGL_J0900.7-1243_daily_bin364.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/927510/ft2_4FGL_J0900.7-1243_daily_bin364.fits
.....................!
real 19.64
user 11.72
sys 7.75

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/927510/ft1_filtered_4FGL_J0900.7-1243_daily_bin364.fits evtable="EVENTS" scfile=/scratch/kocevski/927510/ft2_4FGL_J0900.7-1243_daily_bin364.fits sctable="SC_DATA" expcube=/scratch/kocevski/927510/ltcube_333676801_333936001_4FGL_J0900.7-1243_daily_bin364.fits outfile=/scratch/kocevski/927510/expmap_333676801_333936001_4FGL_J0900.7-1243_daily_bin364.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/927510/ltcube_333676801_333936001_4FGL_J0900.7-1243_daily_bin364.fits
.....................!
real 200.84
user 185.16
sys 12.94

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/927510/ft1_filtered_4FGL_J0900.7-1243_daily_bin364.fits scfile=/scratch/kocevski/927510/ft2_4FGL_J0900.7-1243_daily_bin364.fits outfile=/scratch/kocevski/927510/cmap_333676801_333936001_4FGL_J0900.7-1243_daily_bin364.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 7.06
user 0.37
sys 6.62

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/927510/ft1_filtered_4FGL_J0900.7-1243_daily_bin364.fits scfile=/scratch/kocevski/927510/ft2_4FGL_J0900.7-1243_daily_bin364.fits outfile=/scratch/kocevski/927510/cmap_HighResolution_333676801_333936001_4FGL_J0900.7-1243_daily_bin364.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 6.37
user 0.39
sys 5.96

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/927510/ft1_filtered_4FGL_J0900.7-1243_daily_bin364.fits evtable="EVENTS" scfile=/scratch/kocevski/927510/ft2_4FGL_J0900.7-1243_daily_bin364.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/927510/Model_4FGL_J0900.7-1243_daily_bin364.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/927510/ft1_filtered_4FGL_J0900.7-1243_daily_bin364.fits.....................!
real 83.60
user 73.46
sys 9.86

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    38.652       1.0000         .10000E-03   10000.    
     4 'norm      '    32.334       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.2873       1.0000         .10000E-03   10000.    
     6 'norm      '    6.2545       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.244       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9482       1.0000         .10000E-03   10000.    
    11 'norm      '    9.7684       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.152       1.0000         .10000E-03   10000.    
    18 'norm      '    24.396       1.0000         .10000E-03   10000.    
    19 'norm      '    .16478       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0738       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0179       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=   6365.251     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     1884 TOTAL
                     EDM=   .64E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.597       -.15190E-06** at limit **
   2  Prefactor     .10000E-03    2.5163        .28892E-07** at limit **
   3  norm          38.645        26.103        .49875E-07   -.47536E-04
   4  norm          32.334        12.143        .16986E-07   -.10578E-04
   5  Prefactor     6.2606        49.755       -.20385E-05   -.65560E-04
   6  norm          6.2563        7.9421        .23672E-05   -.94154E-04
   7  norm          .10000E-03    1.0515       -.10515E-06** at limit **
   8  Prefactor     20.243        10.238        .49639E-07   -.12210E-04
   9  Prefactor     .10000E-03    5.9458       -.17432E-07** at limit **
  10  Prefactor     3.9483        4.1922       -.86399E-07    .25805E-04
  11  norm          9.7685        8.2463        .25465E-07   -.14507E-05
  12  Prefactor     .10000E-03    6.7659        .50880E-07** at limit **
  13  Prefactor     .10000E-03    14.303       -.79722E-08** at limit **
  14  Prefactor     .10000E-03    27.742       -.36008E-07** at limit **
  15  Prefactor     .10000E-03    15.014        .47849E-07** at limit **
  16  Prefactor     .10000E-03    23.428        .32150E-06** at limit **
  17  Prefactor     15.152        16.045        .65320E-07   -.73760E-05
  18  norm          24.396        10.668        .32790E-07   -.37269E-05
  19  norm          .15753        2.2378       -.11941E-06    .12802E-03
  20  Normalizat    1.0739        .23141        .53983E-06   -.21946E-04
  21  Prefactor     1.0179        .13193       -.68418E-06    .52611E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 38.6455
  norm       = 32.3335
  Prefactor  = 6.26064
  norm       = 6.25625
  norm       = 0.0001
  Prefactor  = 20.2429
  Prefactor  = 0.0001
  Prefactor  = 3.94834
  norm       = 9.7685
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.1515
  norm       = 24.3959
  norm       = 0.157526
  Normalizat = 1.07386
  Prefactor  = 1.01791
 **********
 **   18 **HESSE 
 **********

 FCN=   6365.251     FROM HESSE     STATUS=OK           319 CALLS     2203 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.5249        .12358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          38.645        26.105        .64470E-04   -1.4464    
   4  norm          32.334        12.147        .70467E-04   -1.4570    
   5  Prefactor     6.2606        50.411        .16009E-03   -1.5207    
   6  norm          6.2563        7.9778        .80255E-03   -1.5208    
   7  norm          .10000E-03    1.0576        .79960E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.243        10.253        .89019E-04   -1.4808    
   9  Prefactor     .10000E-03    5.9640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9483        4.1961        .16403E-03   -1.5311    
  11  norm          9.7685        8.2563        .12821E-03   -1.5083    
  12  Prefactor     .10000E-03    6.7756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    27.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.152        16.046        .10289E-03   -1.4929    
  18  norm          24.396        10.674        .81100E-04   -1.4720    
  19  norm          .15753        16.815        .23123E-02   -1.5629    
  20  Normalizat    1.0739        .26242        .34131E-03   -.90596    
  21  Prefactor     1.0179        .14976        .20145E-03   -.92135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86608e-10
Minuit parameter uncertainties:
  1  2.75625e-05
  2  6.91926e-07
  3  26.1125
  4  12.1482
  5  35.5715
  6  7.97917
  7  2.50768e-06
  8  10.2534
  9  5.20725e-06
  10  4.19637
  11  8.25722
  12  2.2015e-06
  13  2.7694e-05
  14  8.01197e-05
  15  2.001e-05
  16  0.000112337
  17  16.0506
  18  10.6751
  19  3.25492
  20  0.262734
  21  0.149817
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  5.207e-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.018e+00  1.498e-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.074e+00  2.627e-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.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/927510/likelihoodResults_333676801_333936001_4FGL_J0900.7-1243_daily_bin364.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) = 6365.25157347
delta logL = -0.000798152999778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6365.25077531
delta logL = 1.07702362584e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2594       1.0000          .0000       10.000    
     3 'Normalizat'    1.0739       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0179       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=   6365.251     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      238 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10103E-03    53.115        .18142E-02** at limit **
   2  Index         2.2087        8.4663        .50000        .22130E-04
   3  Normalizat    1.0739        .17688E-01    .34130E-03   -.11249E-03
   4  Prefactor     1.0179        .10260E-01    .20145E-03    .81389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101025
  Index      = 2.20873
  Normalizat = 1.07386
  Prefactor  = 1.01791
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10103E-03    230.28        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2087        5.4493        .50000       -.59228    
   3  Normalizat    1.0739        .38140E-01    .13652E-04   -.90596    
   4  Prefactor     1.0179        .22123E-01    .40290E-04   -.92135    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.0074e-08
Minuit parameter uncertainties:
  1  0.0308518
  2  476.299
  3  0.0381414
  4  0.0221236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/927510': 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) = 6365.25077499
delta logL = 3.26341250911e-07

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.010e-04  3.085e-02  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.209e+00  4.763e+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.018e+00  2.212e-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.074e+00  3.814e-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/927510/cmap_HighResolution_333676801_333936001_4FGL_J0900.7-1243_daily_bin364.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.72e-03', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2021-08-30 20:41:10.825066', job_id='927510', GAL2='1.02', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1630381270.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.26e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='364' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:41:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 927510: <4FGL_J0900.7-1243_daily_bin364> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin364> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Aug 30 20:25:41 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:25:43 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:25:43 2021
Terminated at Mon Aug 30 20:41:12 2021
Results reported at Mon Aug 30 20:41:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin364 135.175 -12.7201 333676801 333936001 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 :                                   783.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            931 sec.

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

