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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1085
RA = 135.175, Dec = -12.7201
tmin = 520560001, tmax = 520819201
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='933208', job_status='RUN', time_executed='2021-08-30 20:50:15.082054', time_epoch_executed='1630381815.08' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1085'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933208

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933208/ft1_4FGL_J0900.7-1243_daily_bin1085.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933208/ft2_4FGL_J0900.7-1243_daily_bin1085.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933208/ft1_4FGL_J0900.7-1243_daily_bin1085.fits outfile=/scratch/kocevski/933208/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1085.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=520560001.0 tmax=520819201.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 14.32
user 4.82
sys 8.86

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/933208/ft2_4FGL_J0900.7-1243_daily_bin1085.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/933208/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1085.fits evtable="EVENTS" outfile="/scratch/kocevski/933208/ft1_filtered_4FGL_J0900.7-1243_daily_bin1085.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 9.40
user 0.30
sys 8.30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/933208/ft1_filtered_4FGL_J0900.7-1243_daily_bin1085.fits" evtable="EVENTS" scfile=/scratch/kocevski/933208/ft2_4FGL_J0900.7-1243_daily_bin1085.fits sctable="SC_DATA" outfile=/scratch/kocevski/933208/ltcube_520560001_520819201_4FGL_J0900.7-1243_daily_bin1085.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/933208/ft2_4FGL_J0900.7-1243_daily_bin1085.fits
.....................!
real 22.39
user 11.62
sys 10.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933208/ft1_filtered_4FGL_J0900.7-1243_daily_bin1085.fits evtable="EVENTS" scfile=/scratch/kocevski/933208/ft2_4FGL_J0900.7-1243_daily_bin1085.fits sctable="SC_DATA" expcube=/scratch/kocevski/933208/ltcube_520560001_520819201_4FGL_J0900.7-1243_daily_bin1085.fits outfile=/scratch/kocevski/933208/expmap_520560001_520819201_4FGL_J0900.7-1243_daily_bin1085.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/933208/ltcube_520560001_520819201_4FGL_J0900.7-1243_daily_bin1085.fits
.....................!
real 206.98
user 187.17
sys 17.47

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/933208/ft1_filtered_4FGL_J0900.7-1243_daily_bin1085.fits scfile=/scratch/kocevski/933208/ft2_4FGL_J0900.7-1243_daily_bin1085.fits outfile=/scratch/kocevski/933208/cmap_520560001_520819201_4FGL_J0900.7-1243_daily_bin1085.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.01
user 0.36
sys 8.06

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/933208/ft1_filtered_4FGL_J0900.7-1243_daily_bin1085.fits scfile=/scratch/kocevski/933208/ft2_4FGL_J0900.7-1243_daily_bin1085.fits outfile=/scratch/kocevski/933208/cmap_HighResolution_520560001_520819201_4FGL_J0900.7-1243_daily_bin1085.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.23
user 0.35
sys 8.24

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/933208/ft1_filtered_4FGL_J0900.7-1243_daily_bin1085.fits evtable="EVENTS" scfile=/scratch/kocevski/933208/ft2_4FGL_J0900.7-1243_daily_bin1085.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/933208/Model_4FGL_J0900.7-1243_daily_bin1085.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/933208/ft1_filtered_4FGL_J0900.7-1243_daily_bin1085.fits.....................!
real 80.63
user 62.70
sys 12.79

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.178       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .60743E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.2365       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.922       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9564       1.0000         .10000E-03   10000.    
    11 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.890       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.403       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.945       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4654       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84457       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=   5428.369     FROM MIGRAD    STATUS=CONVERGED    772 CALLS     2514 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.169        18.499        .72934E-04   -.66562E-03
   2  Prefactor     .10000E-03    6.9701        .52654E-01** at limit **
   3  norm          .10000E-03    58.284        .18142E-02** at limit **
   4  norm          .10000E-03    3.6655        .13747E-02** at limit **
   5  Prefactor     .10000E-03    11.616        .18142E-02** at limit **
   6  norm          .10000E-03    3.8738        .14152E-02** at limit **
   7  norm          2.2368        2.1883        .10406E-03   -.11799E-04
   8  Prefactor     .10000E-03    1.7264        .94441E-03** at limit **
   9  Prefactor     27.924        18.523        .75817E-04    .25491E-05
  10  Prefactor     5.9567        9.1843        .82265E-03    .20659E-03
  11  norm          .10000E-03    4.8550        .15768E-02** at limit **
  12  Prefactor     11.888        23.639        .11618E-03    .20354E-04
  13  Prefactor     .10000E-03    14.199        .18142E-02** at limit **
  14  Prefactor     .10000E-03    28.837        .18142E-02** at limit **
  15  Prefactor     .10000E-03    14.976        .18142E-02** at limit **
  16  Prefactor     23.408        43.690        .82801E-04    .25401E-04
  17  Prefactor     16.945        15.834        .97297E-04   -.26874E-05
  18  norm          .10000E-03    4.7440        .15621E-02** at limit **
  19  norm          .10000E-03    1.5090        .88332E-03** at limit **
  20  Normalizat    1.4655        .28836        .29279E-03   -.97133E-04
  21  Prefactor     .84450        .15853        .20933E-03   -.49640E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.169
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.23682
  Prefactor  = 0.0001
  Prefactor  = 27.9241
  Prefactor  = 5.95667
  norm       = 0.0001
  Prefactor  = 11.8885
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4077
  Prefactor  = 16.945
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.46548
  Prefactor  = 0.844496
 **********
 **   18 **HESSE 
 **********

 FCN=   5428.369     FROM HESSE     STATUS=OK           305 CALLS     2819 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.169        18.497        .14587E-04   -1.4609    
   2  Prefactor     .10000E-03    6.7327        .53966E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    58.328        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.6658        .27494E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.616        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.8739        .28305E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.2368        2.1883        .41623E-05   -1.5409    
   8  Prefactor     .10000E-03    1.7264        .18888E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.924        18.525        .30327E-05   -1.4651    
  10  Prefactor     5.9567        9.1825        .32906E-04   -1.5220    
  11  norm          .10000E-03    4.8565        .31537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.888        23.639        .46470E-05   -1.5018    
  13  Prefactor     .10000E-03    14.199        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    28.838        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.976        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.408        43.672        .33120E-05   -1.4740    
  17  Prefactor     16.945        15.833        .38919E-05   -1.4884    
  18  norm          .10000E-03    4.7447        .31242E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.5090        .17666E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4655        .28858        .58559E-04   -.78753    
  21  Prefactor     .84450        .15865        .83731E-05   -.98108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10719e-10
Minuit parameter uncertainties:
  1  18.5003
  2  0.000181179
  3  0.000220462
  4  9.34012e-07
  5  1.13294e-05
  6  1.38314e-07
  7  2.18835
  8  2.85438e-07
  9  18.5284
  10  9.18465
  11  1.75956e-06
  12  23.6575
  13  3.96604e-05
  14  3.47629e-05
  15  3.6062e-05
  16  43.732
  17  15.8366
  18  3.50145e-05
  19  3.80908e-07
  20  0.288904
  21  0.158737
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  2.792e+01  1.853e+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:  8.445e-01  1.587e-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.465e+00  2.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.22
Ra Dec: 135.175 -12.720
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 8.41e-08 +/- 5.57e-08
Energy Flux (Fixed Index): 3.30e-05 +/- 2.19e-05

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): 0
logL (Free Index) = 5428.3203842
delta logL = 0.0489703921467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5428.31772592
delta logL = 0.0516286722032

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.227       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4648       1.0000          .0000       10.000    
     3 'Normalizat'    1.4484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85018       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=   5428.318     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      285 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.225        23.449        .83112E-04    .14609E-03
   2  Index         2.4647        .63810        .49779E-02    .42500E-04
   3  Normalizat    1.4484        .28466        .29417E-03   -.31196E-03
   4  Prefactor     .85026        .15744        .20868E-03   -.55459E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.2248
  Index      = 2.46472
  Normalizat = 1.44842
  Prefactor  = 0.850256
 **********
 **   18 **HESSE 
 **********

 FCN=   5428.318     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.225        21.834        .33245E-05   -1.4744    
   2  Index         2.4647        .59363        .19912E-03   -.53177    
   3  Normalizat    1.4484        .28419        .58834E-04   -.79238    
   4  Prefactor     .85026        .15732        .41737E-04   -.97902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15277e-10
Minuit parameter uncertainties:
  1  21.8414
  2  0.595528
  3  0.284502
  4  0.157405
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933208': 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): 0
logL (Free Index) = 5428.3177255
delta logL = 0.0516290983605

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  2.322e+01  2.184e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.465e+00  5.955e-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:  8.503e-01  1.574e-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.448e+00  2.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.33
Ra Dec: 135.175 -12.720
Photon Index (Free Index): 2.46 +/- 0.60
Photon Flux (Free Index): 9.94e-08 +/- 7.75e-08
Energy Flux (Free Index): 3.00e-05 +/- 2.04e-05

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/933208/cmap_HighResolution_520560001_520819201_4FGL_J0900.7-1243_daily_bin1085.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.41e-08', energy_flux2='3.00e-05', photon_flux_error='5.57e-08', dlogl='5.16e-02', energy_flux='3.30e-05', photon_flux2='9.94e-08', job_status='DONE', time_completed='2021-08-30 21:02:11.129047', photon_index_error2='0.60', photon_index2='2.46', ts='4.22', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='2.04e-05', EG='1.47', time_epoch_completed='1630382531.13', return_code='0', job_id='933208', GAL2='0.85', EG2='1.45', return_code2='0', energy_flux_error='2.19e-05', photon_flux_error2='7.75e-08', ts2='4.33', photon_index='2.28' WHERE bin_id='1085' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:02:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 933208: <4FGL_J0900.7-1243_daily_bin1085> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin1085> 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) <bullet0126>, 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:02:13 2021
Results reported at Mon Aug 30 21:02:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1085 135.175 -12.7201 520560001 520819201 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 :                                   800.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             280.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            988 sec.

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

