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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1015
RA = 135.175, Dec = -12.7201
tmin = 502416001, tmax = 502675201
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='931732', job_status='RUN', time_executed='2021-08-30 20:44:33.699477', time_epoch_executed='1630381473.7' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1015'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931732

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931732/ft1_4FGL_J0900.7-1243_daily_bin1015.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931732/ft2_4FGL_J0900.7-1243_daily_bin1015.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931732/ft1_4FGL_J0900.7-1243_daily_bin1015.fits outfile=/scratch/kocevski/931732/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1015.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=502416001.0 tmax=502675201.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 13.30
user 3.38
sys 9.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/931732/ft2_4FGL_J0900.7-1243_daily_bin1015.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/931732/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1015.fits evtable="EVENTS" outfile="/scratch/kocevski/931732/ft1_filtered_4FGL_J0900.7-1243_daily_bin1015.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 10.48
user 0.35
sys 9.54

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931732/ft1_filtered_4FGL_J0900.7-1243_daily_bin1015.fits" evtable="EVENTS" scfile=/scratch/kocevski/931732/ft2_4FGL_J0900.7-1243_daily_bin1015.fits sctable="SC_DATA" outfile=/scratch/kocevski/931732/ltcube_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.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/931732/ft2_4FGL_J0900.7-1243_daily_bin1015.fits
.....................!
real 24.07
user 12.54
sys 10.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931732/ft1_filtered_4FGL_J0900.7-1243_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/931732/ft2_4FGL_J0900.7-1243_daily_bin1015.fits sctable="SC_DATA" expcube=/scratch/kocevski/931732/ltcube_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.fits outfile=/scratch/kocevski/931732/expmap_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.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/931732/ltcube_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.fits
.....................!
real 204.78
user 187.64
sys 16.35

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/931732/ft1_filtered_4FGL_J0900.7-1243_daily_bin1015.fits scfile=/scratch/kocevski/931732/ft2_4FGL_J0900.7-1243_daily_bin1015.fits outfile=/scratch/kocevski/931732/cmap_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.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 9.78
user 0.38
sys 9.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931732/ft1_filtered_4FGL_J0900.7-1243_daily_bin1015.fits scfile=/scratch/kocevski/931732/ft2_4FGL_J0900.7-1243_daily_bin1015.fits outfile=/scratch/kocevski/931732/cmap_HighResolution_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.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 9.43
user 0.39
sys 9.00

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931732/ft1_filtered_4FGL_J0900.7-1243_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/931732/ft2_4FGL_J0900.7-1243_daily_bin1015.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931732/Model_4FGL_J0900.7-1243_daily_bin1015.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/931732/ft1_filtered_4FGL_J0900.7-1243_daily_bin1015.fits.....................!
real 86.00
user 72.10
sys 13.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/931732/ft1_filtered_4FGL_J0900.7-1243_daily_bin1015.fits', '/scratch/kocevski/931732/ft2_4FGL_J0900.7-1243_daily_bin1015.fits', expMap='/scratch/kocevski/931732/expmap_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.fits', expCube='/scratch/kocevski/931732/ltcube_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/931732/Model_4FGL_J0900.7-1243_daily_bin1015.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/931732/ft1_filtered_4FGL_J0900.7-1243_daily_bin1015.fits
Spacecraft file(s): /scratch/kocevski/931732/ft2_4FGL_J0900.7-1243_daily_bin1015.fits
Exposure map: /scratch/kocevski/931732/expmap_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.fits
Exposure cube: /scratch/kocevski/931732/ltcube_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/931732/Model_4FGL_J0900.7-1243_daily_bin1015.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6425.46085315

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3797       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .36514       1.0000         .10000E-03   10000.    
     3 'norm      '    12.370       1.0000         .10000E-03   10000.    
     4 'norm      '    .89037       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .40791E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.3958       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5838       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9634       1.0000         .10000E-03   10000.    
    11 'norm      '    7.5703       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9402       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2593       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16789E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.3866       1.0000         .10000E-03   10000.    
    18 'norm      '    5.8577       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3143       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0348       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=   6425.387     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     1942 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3726        31.484       -.16624E-05    .94525E-04
   2  Prefactor     .35508        3.9914       -.64753E-06   -.12563E-05
   3  norm          12.380        19.543        .23553E-05    .40613E-03
   4  norm          .90162        5.6923       -.34292E-06   -.19571E-03
   5  Prefactor     .10000E-03    34.640       -.16172E-05** at limit **
   6  norm          .10005E-03    50.852       -.71722E-05** at limit **
   7  norm          5.3949        3.2971        .68283E-07    .56872E-03
   8  Prefactor     .10000E-03    3.2254       -.29716E-06** at limit **
   9  Prefactor     4.5764        14.557        .17244E-06    .18723E-03
  10  Prefactor     2.9638        5.7271       -.13335E-05    .11058E-02
  11  norm          7.5696        6.3337       -.22255E-06   -.19375E-03
  12  Prefactor     2.9116        34.306       -.34998E-05   -.57851E-04
  13  Prefactor     3.1566        124.93        .76910E-06    .46761E-04
  14  Prefactor     .10000E-03    86.620       -.16394E-06** at limit **
  15  Prefactor     .10000E-03    9.6730       -.10489E-06** at limit **
  16  Prefactor     .10000E-03    16.685       -.28847E-06** at limit **
  17  Prefactor     3.3884        35.538       -.45894E-06    .24215E-04
  18  norm          5.8576        5.9550       -.98248E-07    .74502E-04
  19  norm          .10000E-03    1.3797       -.94409E-07** at limit **
  20  Normalizat    1.3143        .22660        .13258E-05    .58238E-03
  21  Prefactor     1.0348        .12808        .72751E-06    .94998E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.37265
  Prefactor  = 0.355079
  norm       = 12.3804
  norm       = 0.901624
  Prefactor  = 0.000100002
  norm       = 0.000100045
  norm       = 5.39486
  Prefactor  = 0.0001
  Prefactor  = 4.57643
  Prefactor  = 2.96376
  norm       = 7.56963
  Prefactor  = 2.91158
  Prefactor  = 3.15661
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.38844
  norm       = 5.85761
  norm       = 0.0001
  Normalizat = 1.31425
  Prefactor  = 1.03477
 **********
 **   18 **HESSE 
 **********

 FCN=   6425.387     FROM HESSE     STATUS=OK           323 CALLS     2265 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3726        30.557        .37061E-03   -1.5474    
   2  Prefactor     .35508        22.911        .28627E-02   -1.5589    
   3  norm          12.380        19.482        .11390E-03   -1.5004    
   4  norm          .90162        21.836        .32322E-02   -1.5518    
   5  Prefactor     .10000E-03    35.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10005E-03    55.510        .41976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.3949        3.2682        .10871E-03   -1.5243    
   8  Prefactor     .10000E-03    3.2647        .14082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5764        14.407        .18801E-03   -1.5280    
  10  Prefactor     2.9638        6.4876        .11794E-02   -1.5364    
  11  norm          7.5696        6.3467        .14575E-03   -1.5158    
  12  Prefactor     2.9116        35.554        .23687E-03   -1.5367    
  13  Prefactor     3.1566        126.23        .22432E-03   -1.5353    
  14  Prefactor     .10000E-03    87.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.6789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.3884        35.468        .21987E-03   -1.5340    
  18  norm          5.8576        5.9528        .16593E-03   -1.5224    
  19  norm          .10000E-03    1.3913        .91979E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3143        .26202        .30586E-03   -.83142    
  21  Prefactor     1.0348        .15030        .19803E-03   -.91579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33385e-08
Minuit parameter uncertainties:
  1  12.9598
  2  5.70591
  3  19.4916
  4  8.87728
  5  0.000498229
  6  0.00317034
  7  3.26834
  8  2.90064e-05
  9  14.4184
  10  6.48909
  11  6.3473
  12  20.3636
  13  40.0128
  14  0.000238344
  15  1.45614e-05
  16  5.73363e-05
  17  21.9418
  18  5.95336
  19  5.43201e-06
  20  0.262289
  21  0.150357
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  4.576e+00  1.442e+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.035e+00  1.504e-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.314e+00  2.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 135.175 -12.720
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/931732/likelihoodResults_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.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) = 6425.34390254
delta logL = 0.0426443935858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6425.29057879
delta logL = 0.0959681421573

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35845E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    5.0180       1.0000          .0000       10.000    
     3 'Normalizat'    1.2715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0528       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=   6425.291     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      276 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35250E-01    .73023        .59121E-02   -.46642E-02
   2  Index         5.0251        2.4662        .13426       -.95849E-04
   3  Normalizat    1.2717        .32218E-01    .70121E-01   -.34900E-03
   4  Prefactor     1.0527        .18876E-01    .39750E-01   -.35215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0352498
  Index      = 5.02507
  Normalizat = 1.27174
  Prefactor  = 1.05265
 **********
 **   18 **HESSE 
 **********

 FCN=   6425.291     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      307 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35250E-01    5.3127        .25187E-03   -1.5670    
   2  Index         5.0251        7.2467        .76019E-02    .50144E-02
   3  Normalizat    1.2717        .15921        .31026E-03   -.84414    
   4  Prefactor     1.0527        .91422E-01    .19658E-03   -.90994    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.62856e-10
Minuit parameter uncertainties:
  1  0.864349
  2  10.2055
  3  0.159271
  4  0.0914357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931732': 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) = 6425.29057746
delta logL = 0.0959694764033

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  3.525e-02  8.643e-01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  5.025e+00  1.021e+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:  1.053e+00  9.144e-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.272e+00  1.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/931732/cmap_HighResolution_502416001_502675201_4FGL_J0900.7-1243_daily_bin1015.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.27e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-08-30 20:56:55.048143', job_id='931732', GAL2='1.05', fit_tolerance='1e-08', EG2='1.27', EG='1.31', time_epoch_completed='1630382215.05', return_code2='102', ts='0.12', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='9.60e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1015' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:56:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 931732: <4FGL_J0900.7-1243_daily_bin1015> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1015 135.175 -12.7201 502416001 502675201 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 :                                   883.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            959 sec.

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

