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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1269
RA = 136.583, Dec = -9.0925
tmin = 568252801, tmax = 568512001
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='22004', job_status='RUN', time_executed='2021-08-31 01:24:18.616467', time_epoch_executed='1630398258.62' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/22004

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/22004/ft1_4FGL_J0906.3-0905_daily_bin1269.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/22004/ft2_4FGL_J0906.3-0905_daily_bin1269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/22004/ft1_4FGL_J0906.3-0905_daily_bin1269.fits outfile=/scratch/kocevski/22004/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1269.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=568252801.0 tmax=568512001.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 3.79
user 3.35
sys 0.36

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/22004/ft2_4FGL_J0906.3-0905_daily_bin1269.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/22004/ft2_4FGL_J0906.3-0905_daily_bin1269.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/22004/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1269.fits evtable="EVENTS" outfile="/scratch/kocevski/22004/ft1_filtered_4FGL_J0906.3-0905_daily_bin1269.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/22004/ft1_filtered_4FGL_J0906.3-0905_daily_bin1269.fits" evtable="EVENTS" scfile=/scratch/kocevski/22004/ft2_4FGL_J0906.3-0905_daily_bin1269.fits sctable="SC_DATA" outfile=/scratch/kocevski/22004/ltcube_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.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/22004/ft2_4FGL_J0906.3-0905_daily_bin1269.fits
.....................!
real 11.72
user 11.14
sys 0.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/22004/ft1_filtered_4FGL_J0906.3-0905_daily_bin1269.fits evtable="EVENTS" scfile=/scratch/kocevski/22004/ft2_4FGL_J0906.3-0905_daily_bin1269.fits sctable="SC_DATA" expcube=/scratch/kocevski/22004/ltcube_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.fits outfile=/scratch/kocevski/22004/expmap_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.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/22004/ltcube_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.fits
.....................!
real 192.18
user 186.77
sys 4.99

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J0906.3-0905 @ 136.583 -9.0925

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/22004/ft1_filtered_4FGL_J0906.3-0905_daily_bin1269.fits scfile=/scratch/kocevski/22004/ft2_4FGL_J0906.3-0905_daily_bin1269.fits outfile=/scratch/kocevski/22004/cmap_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.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=136.583 yref=-9.0925 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.83
user 0.36
sys 0.29

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/22004/ft1_filtered_4FGL_J0906.3-0905_daily_bin1269.fits scfile=/scratch/kocevski/22004/ft2_4FGL_J0906.3-0905_daily_bin1269.fits outfile=/scratch/kocevski/22004/cmap_HighResolution_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.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=136.583 yref=-9.0925 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.38
sys 0.29

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/22004/ft1_filtered_4FGL_J0906.3-0905_daily_bin1269.fits evtable="EVENTS" scfile=/scratch/kocevski/22004/ft2_4FGL_J0906.3-0905_daily_bin1269.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/22004/Model_4FGL_J0906.3-0905_daily_bin1269.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/22004/ft1_filtered_4FGL_J0906.3-0905_daily_bin1269.fits.......................!
real 26.00
user 20.49
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/22004/ft1_filtered_4FGL_J0906.3-0905_daily_bin1269.fits', '/scratch/kocevski/22004/ft2_4FGL_J0906.3-0905_daily_bin1269.fits', expMap='/scratch/kocevski/22004/expmap_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.fits', expCube='/scratch/kocevski/22004/ltcube_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/22004/Model_4FGL_J0906.3-0905_daily_bin1269.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0906.3-0905'

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.519e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.105e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  1.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/22004/ft1_filtered_4FGL_J0906.3-0905_daily_bin1269.fits
Spacecraft file(s): /scratch/kocevski/22004/ft2_4FGL_J0906.3-0905_daily_bin1269.fits
Exposure map: /scratch/kocevski/22004/expmap_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.fits
Exposure cube: /scratch/kocevski/22004/ltcube_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/22004/Model_4FGL_J0906.3-0905_daily_bin1269.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 843.437785235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 837.731044345

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10706E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .67529E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    96.516       1.0000         .10000E-03   10000.    
     4 'norm      '    .11727E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28995       1.0000         .10000E-03   10000.    
     6 'Prefactor '    100.39       1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.058       1.0000         .10000E-03   10000.    
     8 'norm      '    15.273       1.0000         .10000E-03   10000.    
     9 'norm      '    .75410E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18723E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .21029E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14478E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1134       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0282       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0130       1.0000         .10000E-03   10000.    
    16 'norm      '    .28479E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .21001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .11634E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2096       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .40737       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   837.7255     FROM MIGRAD    STATUS=CONVERGED    137 CALLS      487 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    34.524       -.71702E-05** at limit **
   2  Prefactor     .10000E-03    59.569        .18160E-04** at limit **
   3  norm          97.387        62.612       -.83124E-04   -.87595E-03
   4  norm          .10016E-03    44.187       -.16696E-04** at limit **
   5  Prefactor     .10013E-03    334.83       -.86010E-04** at limit **
   6  Prefactor     100.34        22.133       -.30978E-04    .41767E-02
   7  Prefactor     30.901        6.5534        .96195E-05    .25277E-02
   8  norm          15.289        12.365       -.20835E-05    .29852E-04
   9  norm          .10000E-03    4.7239        .24882E-05** at limit **
  10  Prefactor     .10000E-03    22.460       -.24647E-05** at limit **
  11  Prefactor     .10000E-03    45.507        .18066E-04** at limit **
  12  Prefactor     .10259E-03    4.9972        .78400E-05** at limit **
  13  Prefactor     .10000E-03    164.71        .22750E-05** at limit **
  14  Prefactor     .10076E-03    1089.1       -.29593E-03** at limit **
  15  Prefactor     3.0130        1.0145         .0000         .0000    
  16  norm          .10000E-03    169.64        .93560E-04** at limit **
  17  norm          .10000E-03    15.188        .84709E-06** at limit **
  18  norm          .10000E-03    10.990        .42211E-05** at limit **
  19  Normalizat    1.2098        .56852       -.20123E-05    .53159E-06
  20  Prefactor     .40700        .37420        .19117E-04    .15568E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 97.3869
  norm       = 0.000100157
  Prefactor  = 0.000100125
  Prefactor  = 100.336
  Prefactor  = 30.9009
  norm       = 15.2894
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000102589
  Prefactor  = 0.0001
  Prefactor  = 0.00010076
  Prefactor  = 3.01296
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.20975
  Prefactor  = 0.406999
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   837.7255     FROM HESSE     STATUS=FAILED        65 CALLS      552 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    34.537        .90765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    59.601        .93786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          97.387        66.678        .10228E-02   -1.3731    
   4  norm          .10016E-03    46.812        .90816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10013E-03    339.58        .10381E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     100.34        109.86        .10031E-02   -1.3701    
   7  Prefactor     30.901        36.041        .17974E-02   -1.4596    
   8  norm          15.289        11.175        .25621E-02   -1.4926    
   9  norm          .10000E-03    4.7234        .10468E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.455        .10144E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    45.532        .91277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10259E-03    61.737        .10249E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    164.71        .11171E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10076E-03    1093.8        .72627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     554.18        551.09         .0000       -1.5361    
  16  norm          .10000E-03    .20997        .93560E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .20571        .84709E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .20571        .42211E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2098        1.1032       -.20123E-05   -.86302    
  20  Prefactor     .40700        .73948        .19117E-04   -1.1645    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.37088e-10
Minuit parameter uncertainties:
  1  2.99012e-06
  2  0.000488791
  3  66.7289
  4  0.00542149
  5  0.013128
  6  110.086
  7  36.066
  8  11.1762
  9  2.26059e-06
  10  6.87426e-06
  11  7.19977e-05
  12  0.0253121
  13  8.45435e-06
  14  0.0587706
  15  1.01448
  16  4.52356e-06
  17  7.00543e-08
  18  5.60897e-07
  19  1.12556
  20  0.757933
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 837.725513031

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  3.090e+01  3.607e+01  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.105e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  1.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  4.070e-01  7.579e-01  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  1.210e+00  1.126e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 136.583 -9.092
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.25e-07 +/- 1.46e-07
Energy Flux (Fixed Index): 6.80e-05 +/- 7.94e-05

TS (Fixed Index): 1.32
Ra Dec: 136.583 -9.092
Photon Flux Upper Limit: 5.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/22004/likelihoodResults_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.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): 0
logL (Free Index) = 837.533311302
delta logL = 0.19220172906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 837.530025357
delta logL = 0.195487674255

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.218       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7965       1.0000          .0000       10.000    
     3 'Normalizat'    1.1775       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42017       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+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=   837.5300     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      294 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.234        33.119        .10483E-03   -.12873E-03
   2  Index         2.7959        1.3832        .32706E-02   -.21800E-04
   3  Normalizat    1.1779        .56173        .25167E-03   -.80737E-04
   4  Prefactor     .41997        .37426        .27035E-03   -.26240E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2343
  Index      = 2.79587
  Normalizat = 1.17793
  Prefactor  = 0.419966
 **********
 **   18 **HESSE 
 **********

 FCN=   837.5300     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.234        29.162        .41932E-05   -1.5008    
   2  Index         2.7959        1.2217        .13083E-03   -.45652    
   3  Normalizat    1.1779        .56137        .50333E-04   -.87288    
   4  Prefactor     .41997        .37406        .10814E-04   -1.1580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30284e-10
Minuit parameter uncertainties:
  1  29.1961
  2  1.23736
  3  0.56427
  4  0.376261
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/22004': 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) = 837.530024968
delta logL = 0.195488063021

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.223e+01  2.920e+01  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.796e+00  1.237e+00  0.000e+00  1.000e+01 (-1.000e+00)
290        Scale:  1.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  4.200e-01  3.763e-01  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  1.178e+00  5.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.71
Ra Dec: 136.583 -9.092
Photon Index (Free Index): 2.80 +/- 1.24
Photon Flux (Free Index): 2.27e-07 +/- 2.99e-07
Energy Flux (Free Index): 5.09e-05 +/- 5.48e-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/22004/cmap_HighResolution_568252801_568512001_4FGL_J0906.3-0905_daily_bin1269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.24e-02', comment='SUCCESS', photon_flux='1.25e-07', energy_flux2='5.09e-05', photon_flux_error='1.46e-07', dlogl='1.95e-01', energy_flux='6.80e-05', photon_flux2='2.27e-07', job_status='DONE', time_completed='2021-08-31 01:30:05.318154', photon_index_error2='1.24', photon_index2='2.80', ts='1.32', fit_tolerance='1e-08', GAL='0.41', photon_index_error='0.00', photon_flux_upper_limit='5.60e-07', energy_flux_error2='5.48e-05', EG='1.21', time_epoch_completed='1630398605.32', return_code='101', job_id='22004', GAL2='0.42', EG2='1.18', return_code2='0', energy_flux_error='7.94e-05', photon_flux_error2='2.99e-07', ts2='1.71', photon_index='2.11' WHERE bin_id='1269' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:30:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 22004: <4FGL_J0906.3-0905_daily_bin1269> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1269> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 01:21:29 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:21:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 01:21:31 2021
Terminated at Tue Aug 31 01:30:06 2021
Results reported at Tue Aug 31 01:30:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1269 136.583 -9.0925 568252801 568512001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0906.3-0905 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   336.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             383.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   514 sec.
    Turnaround time :                            517 sec.

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

