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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1090
RA = 135.175, Dec = -12.7201
tmin = 521856001, tmax = 522115201
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='933214', job_status='RUN', time_executed='2021-08-30 20:50:17.705716', time_epoch_executed='1630381817.71' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933214

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933214/ft1_4FGL_J0900.7-1243_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933214/ft2_4FGL_J0900.7-1243_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933214/ft1_4FGL_J0900.7-1243_daily_bin1090.fits outfile=/scratch/kocevski/933214/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1090.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=521856001.0 tmax=522115201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.67
user 3.51
sys 1.08

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/933214/ft2_4FGL_J0900.7-1243_daily_bin1090.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/933214/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1090.fits evtable="EVENTS" outfile="/scratch/kocevski/933214/ft1_filtered_4FGL_J0900.7-1243_daily_bin1090.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.39
user 0.33
sys 1.04

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/933214/ft1_filtered_4FGL_J0900.7-1243_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/933214/ft2_4FGL_J0900.7-1243_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/933214/ltcube_521856001_522115201_4FGL_J0900.7-1243_daily_bin1090.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/933214/ft2_4FGL_J0900.7-1243_daily_bin1090.fits
.....................!
real 12.92
user 11.52
sys 1.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933214/ft1_filtered_4FGL_J0900.7-1243_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/933214/ft2_4FGL_J0900.7-1243_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/933214/ltcube_521856001_522115201_4FGL_J0900.7-1243_daily_bin1090.fits outfile=/scratch/kocevski/933214/expmap_521856001_522115201_4FGL_J0900.7-1243_daily_bin1090.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/933214/ltcube_521856001_522115201_4FGL_J0900.7-1243_daily_bin1090.fits
.....................!
real 192.65
user 185.38
sys 6.79

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/933214/ft1_filtered_4FGL_J0900.7-1243_daily_bin1090.fits scfile=/scratch/kocevski/933214/ft2_4FGL_J0900.7-1243_daily_bin1090.fits outfile=/scratch/kocevski/933214/cmap_521856001_522115201_4FGL_J0900.7-1243_daily_bin1090.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=135.175 yref=-12.7201 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.44
user 0.37
sys 1.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/933214/ft1_filtered_4FGL_J0900.7-1243_daily_bin1090.fits scfile=/scratch/kocevski/933214/ft2_4FGL_J0900.7-1243_daily_bin1090.fits outfile=/scratch/kocevski/933214/cmap_HighResolution_521856001_522115201_4FGL_J0900.7-1243_daily_bin1090.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=135.175 yref=-12.7201 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.43
user 0.38
sys 1.02

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/933214/ft1_filtered_4FGL_J0900.7-1243_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/933214/ft2_4FGL_J0900.7-1243_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/933214/Model_4FGL_J0900.7-1243_daily_bin1090.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/933214/ft1_filtered_4FGL_J0900.7-1243_daily_bin1090.fits.....................!
real 66.65
user 64.06
sys 2.40

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5540       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.7436       1.0000         .10000E-03   10000.    
     3 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.267       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3026       1.0000         .10000E-03   10000.    
     6 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8703       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11746E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.8726       1.0000         .10000E-03   10000.    
    11 'norm      '    5.8049       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.252       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10737E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .25571E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18583E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.5081       1.0000         .10000E-03   10000.    
    18 'norm      '    .10176E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .74629       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1276       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5548.607     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     1845 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5487        1.8577       -.28321E-05    .89630E-03
   2  Prefactor     6.7406        1.5786        .11611E-05    .14707E-02
   3  norm          .10023E-03    7.6387       -.24904E-05** at limit **
   4  norm          11.258        8.8033       -.13041E-04    .63183E-02
   5  Prefactor     6.2899        2.6582        .21227E-05   -.51017E-03
   6  norm          .10000E-03    3.2263       -.75820E-07** at limit **
   7  norm          .10000E-03    1.6874        .16273E-06** at limit **
   8  Prefactor     5.8735        1.4290        .11035E-05   -.45169E-03
   9  Prefactor     .10001E-03    19.084        .18837E-05** at limit **
  10  Prefactor     5.8637        5.7976       -.35966E-05   -.28696E-02
  11  norm          5.8036        4.9478        .10287E-04    .71066E-02
  12  Prefactor     15.315        19.244       -.93816E-05    .18948E-02
  13  Prefactor     .10005E-03    8.8896        .24214E-05** at limit **
  14  Prefactor     .15790E-03    .93483       -.48618E-05** at limit **
  15  Prefactor     .10022E-03    268.44       -.34034E-04** at limit **
  16  Prefactor     .10007E-03    9.5728        .39321E-06** at limit **
  17  Prefactor     8.5186        4.7749        .56008E-07   -.21590E-02
  18  norm          .10000E-03    2.8939       -.13961E-07** at limit **
  19  norm          .10000E-03    1.6258        .21205E-06** at limit **
  20  Normalizat    .74636        .25565        .15507E-05   -.12940E-03
  21  Prefactor     1.1276        .15030        .31153E-05   -.20487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.54871
  Prefactor  = 6.74057
  norm       = 0.000100227
  norm       = 11.258
  Prefactor  = 6.28985
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.87353
  Prefactor  = 0.000100005
  Prefactor  = 5.86366
  norm       = 5.80359
  Prefactor  = 15.3154
  Prefactor  = 0.000100049
  Prefactor  = 0.000157898
  Prefactor  = 0.000100224
  Prefactor  = 0.000100069
  Prefactor  = 8.5186
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.746359
  Prefactor  = 1.12755
 **********
 **   18 **HESSE 
 **********

 FCN=   5548.607     FROM HESSE     STATUS=OK           373 CALLS     2218 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5487        10.197        .34265E-02   -1.5123    
   2  Prefactor     6.7406        7.8490        .38628E-02   -1.5189    
   3  norm          .10023E-03    9.8842        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.258        11.305        .29838E-02   -1.5037    
   5  Prefactor     6.2899        28.012        .39972E-02   -1.5206    
   6  norm          .10000E-03    3.2171        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.6708        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.8735        6.4877        .41438E-02   -1.5223    
   9  Prefactor     .10001E-03    18.939        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.8637        5.9709        .41429E-02   -1.5224    
  11  norm          5.8036        5.6483        .41674E-02   -1.5226    
  12  Prefactor     15.315        20.938        .25639E-02   -1.4925    
  13  Prefactor     .10005E-03    9.3106        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .15790E-03    37.583        .14703       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10022E-03    31.006        .12876       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10007E-03    10.443        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.5186        16.635        .34358E-02   -1.5124    
  18  norm          .10000E-03    2.8842        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.6160        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .74636        .23558        .81087E-01   -1.0209    
  21  Prefactor     1.1276        .13428        .36622E-01   -.88591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42173e-07
Minuit parameter uncertainties:
  1  10.1994
  2  7.85017
  3  0.00299638
  4  11.3071
  5  26.5681
  6  5.62352e-06
  7  8.77484e-06
  8  6.48852
  9  0.000632088
  10  5.9715
  11  5.64879
  12  20.9477
  13  0.00135526
  14  0.0933535
  15  0.00527651
  16  0.00170005
  17  16.6441
  18  7.40819e-06
  19  5.08628e-06
  20  0.235897
  21  0.134317
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  6.321e-04  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.128e+00  1.343e-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:  7.464e-01  2.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/933214/likelihoodResults_521856001_522115201_4FGL_J0900.7-1243_daily_bin1090.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) = 5548.60742395
delta logL = -0.000249327576967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5548.60717463
delta logL = -7.01493263477e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2915       1.0000          .0000       10.000    
     3 'Normalizat'    .74632       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1276       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=   5548.607     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6757.6        .90712E-02** at limit **
   2  Index         2.3051        5.0672        .50000       -.63285E-05
   3  Normalizat    .74636        .14117        .81087E-01    .49468E-04
   4  Prefactor     1.1276        .81781E-01    .36622E-01    .42965E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.30509
  Normalizat = 0.74636
  Prefactor  = 1.12755
 **********
 **   18 **HESSE 
 **********

 FCN=   5548.607     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1709.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3051        8.2345        .50000       -.56923    
   3  Normalizat    .74636        .63094E-01    .35904E-03   -1.0209    
   4  Prefactor     1.1276        .37530E-01    .17569E-03   -.88591    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.77886e-09
Minuit parameter uncertainties:
  1  0.000751567
  2  40.8984
  3  0.0631
  4  0.0375312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933214': 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) = 5548.60717459
delta logL = 3.89509295928e-08

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  7.516e-04  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.305e+00  4.090e+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.128e+00  3.753e-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:  7.464e-01  6.310e-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/933214/cmap_HighResolution_521856001_522115201_4FGL_J0900.7-1243_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.60e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-08-30 21:00:01.203048', job_id='933214', GAL2='1.13', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1630382401.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='3.90e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1090' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:00:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 933214: <4FGL_J0900.7-1243_daily_bin1090> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin1090> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Aug 30 20:45:45 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:45:47 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:45:47 2021
Terminated at Mon Aug 30 21:00:02 2021
Results reported at Mon Aug 30 21:00:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1090 135.175 -12.7201 521856001 522115201 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 :                                   575.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            857 sec.

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

