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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1275
RA = 135.175, Dec = -12.7201
tmin = 569808001, tmax = 570067201
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='933508', job_status='RUN', time_executed='2021-08-30 20:50:06.274210', time_epoch_executed='1630381806.27' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933508

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933508/ft1_4FGL_J0900.7-1243_daily_bin1275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933508/ft2_4FGL_J0900.7-1243_daily_bin1275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933508/ft1_4FGL_J0900.7-1243_daily_bin1275.fits outfile=/scratch/kocevski/933508/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1275.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=569808001.0 tmax=570067201.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.78
user 3.30
sys 0.42

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/933508/ft2_4FGL_J0900.7-1243_daily_bin1275.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/933508/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1275.fits evtable="EVENTS" outfile="/scratch/kocevski/933508/ft1_filtered_4FGL_J0900.7-1243_daily_bin1275.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.72
user 0.31
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/933508/ft1_filtered_4FGL_J0900.7-1243_daily_bin1275.fits" evtable="EVENTS" scfile=/scratch/kocevski/933508/ft2_4FGL_J0900.7-1243_daily_bin1275.fits sctable="SC_DATA" outfile=/scratch/kocevski/933508/ltcube_569808001_570067201_4FGL_J0900.7-1243_daily_bin1275.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/933508/ft2_4FGL_J0900.7-1243_daily_bin1275.fits
.....................!
real 12.28
user 11.66
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933508/ft1_filtered_4FGL_J0900.7-1243_daily_bin1275.fits evtable="EVENTS" scfile=/scratch/kocevski/933508/ft2_4FGL_J0900.7-1243_daily_bin1275.fits sctable="SC_DATA" expcube=/scratch/kocevski/933508/ltcube_569808001_570067201_4FGL_J0900.7-1243_daily_bin1275.fits outfile=/scratch/kocevski/933508/expmap_569808001_570067201_4FGL_J0900.7-1243_daily_bin1275.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/933508/ltcube_569808001_570067201_4FGL_J0900.7-1243_daily_bin1275.fits
.....................!
real 189.84
user 184.95
sys 4.42

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/933508/ft1_filtered_4FGL_J0900.7-1243_daily_bin1275.fits scfile=/scratch/kocevski/933508/ft2_4FGL_J0900.7-1243_daily_bin1275.fits outfile=/scratch/kocevski/933508/cmap_569808001_570067201_4FGL_J0900.7-1243_daily_bin1275.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 0.73
user 0.37
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/933508/ft1_filtered_4FGL_J0900.7-1243_daily_bin1275.fits scfile=/scratch/kocevski/933508/ft2_4FGL_J0900.7-1243_daily_bin1275.fits outfile=/scratch/kocevski/933508/cmap_HighResolution_569808001_570067201_4FGL_J0900.7-1243_daily_bin1275.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 0.75
user 0.38
sys 0.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/933508/ft1_filtered_4FGL_J0900.7-1243_daily_bin1275.fits evtable="EVENTS" scfile=/scratch/kocevski/933508/ft2_4FGL_J0900.7-1243_daily_bin1275.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/933508/Model_4FGL_J0900.7-1243_daily_bin1275.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/933508/ft1_filtered_4FGL_J0900.7-1243_daily_bin1275.fits.....................!
real 77.00
user 75.08
sys 1.46

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.907       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11015E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .59018       1.0000         .10000E-03   10000.    
     4 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .15198E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    7.8285       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6254       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.8656       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .51624       1.0000         .10000E-03   10000.    
    11 'norm      '    13.055       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.2696       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.078       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6224       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.795       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    14.225       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .62742       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1343       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=   7289.614     FROM MIGRAD    STATUS=CONVERGED    772 CALLS     2535 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.889        10.359        .11149E-03    .11492E-03
   2  Prefactor     .10000E-03    3.8186        .22527E-02** at limit **
   3  norm          .56893        137.90        .56901E-02    .98775E-04
   4  norm          .10000E-03    3.1237        .14641E-02** at limit **
   5  Prefactor     .10000E-03    32.089        .18142E-02** at limit **
   6  norm          .10000E-03    50.867        .40713E-02** at limit **
   7  norm          7.8242        3.9540        .11040E-03   -.64948E-03
   8  Prefactor     5.6255        5.5715        .16937E-03   -.22687E-04
   9  Prefactor     8.8545        14.048        .13462E-03   -.16291E-03
  10  Prefactor     .51732        7.9549        .45348E-03    .14340E-04
  11  norm          13.055        6.5870        .11086E-03    .15895E-04
  12  Prefactor     8.2722        14.203        .69706E-03   -.18560E-04
  13  Prefactor     19.088        32.749        .91697E-04   -.46121E-04
  14  Prefactor     .10000E-03    13.356        .18142E-02** at limit **
  15  Prefactor     1.6230        45.528        .33223E-03    .18821E-05
  16  Prefactor     18.793        38.518        .92385E-04   -.22150E-05
  17  Prefactor     .10000E-03    12.312        .18142E-02** at limit **
  18  norm          14.229        10.194        .10620E-03   -.33615E-04
  19  norm          .10000E-03    1.3567        .96706E-03** at limit **
  20  Normalizat    .62727        .20742        .36518E-03   -.17848E-03
  21  Prefactor     1.1343        .12359        .16924E-03   -.31732E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.8893
  Prefactor  = 0.0001
  norm       = 0.56893
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 7.8242
  Prefactor  = 5.62553
  Prefactor  = 8.85451
  Prefactor  = 0.517324
  norm       = 13.0553
  Prefactor  = 8.27219
  Prefactor  = 19.0876
  Prefactor  = 0.0001
  Prefactor  = 1.62305
  Prefactor  = 18.7929
  Prefactor  = 0.0001
  norm       = 14.2286
  norm       = 0.0001
  Normalizat = 0.627266
  Prefactor  = 1.13435
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.614     FROM HESSE     STATUS=OK           297 CALLS     2832 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.889        9.9282        .44598E-05   -1.4990    
   2  Prefactor     .10000E-03    3.8362        .45053E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .56893        129.84        .22761E-03   -1.5557    
   4  norm          .10000E-03    3.1247        .29281E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.101        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    52.115        .16285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.8242        3.9505        .44160E-05   -1.5148    
   8  Prefactor     5.6255        5.5706        .67750E-05   -1.5234    
   9  Prefactor     8.8545        14.042        .53846E-05   -1.5113    
  10  Prefactor     .51732        7.9523        .18139E-04   -1.5564    
  11  norm          13.055        6.5868        .44345E-05   -1.4985    
  12  Prefactor     8.2722        14.200        .27882E-04   -1.5133    
  13  Prefactor     19.088        32.744        .36679E-05   -1.4834    
  14  Prefactor     .10000E-03    13.356        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6230        45.513        .13289E-04   -1.5453    
  16  Prefactor     18.793        38.519        .36954E-05   -1.4841    
  17  Prefactor     .10000E-03    12.316        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          14.229        10.194        .42478E-05   -1.4953    
  19  norm          .10000E-03    1.3568        .19341E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .62727        .20732        .14607E-04   -1.0684    
  21  Prefactor     1.1343        .12348        .33848E-04   -.88376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70638e-10
Minuit parameter uncertainties:
  1  9.92948
  2  1.69325e-05
  3  17.2261
  4  8.42193e-06
  5  0.000101871
  6  0.000842328
  7  3.9506
  8  5.57114
  9  14.0474
  10  4.0568
  11  6.58713
  12  14.2059
  13  32.7752
  14  3.55516e-05
  15  17.2035
  16  38.57
  17  3.21921e-05
  18  10.1948
  19  1.08682e-06
  20  0.207577
  21  0.123512
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  8.855e+00  1.405e+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.134e+00  1.235e-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:  6.273e-01  2.076e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/933508/likelihoodResults_569808001_570067201_4FGL_J0900.7-1243_daily_bin1275.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) = 7288.29154228
delta logL = 1.32226361618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7288.08038217
delta logL = 1.53342372828

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10144       1.0000         .10000E-03   10000.    
     2 'Index     '    4.9374       1.0000          .0000       10.000    
     3 'Normalizat'    .52578       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1743       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=   7288.080     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      290 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10106        .83372        .35558E-02    .23915E-02
   2  Index         4.9392        1.9609        .92753E-01    .20840E-03
   3  Normalizat    .52572        .50445E-01    .89462E-01    .38858E-04
   4  Prefactor     1.1743        .30692E-01    .35268E-01   -.45917E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.101058
  Index      = 4.93915
  Normalizat = 0.525717
  Prefactor  = 1.17435
 **********
 **   18 **HESSE 
 **********

 FCN=   7288.080     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      325 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10106        1.8230        .16122E-03   -1.5644    
   2  Index         4.9392        3.2601        .35568E-02   -.12170E-01
   3  Normalizat    .52572        .16687        .39638E-03   -1.1124    
   4  Prefactor     1.1743        .10010        .16658E-03   -.87124    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20152e-07
Minuit parameter uncertainties:
  1  0.858049
  2  3.55131
  3  0.167026
  4  0.10012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933508': 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) = 7288.08038156
delta logL = 1.53342433741

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.011e-01  8.580e-01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  4.939e+00  3.551e+00  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.174e+00  1.001e-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:  5.257e-01  1.670e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.92
Ra Dec: 135.175 -12.720
Photon Index (Free Index): 4.94 +/- 3.55
Photon Flux (Free Index): 1.04e-07 +/- 6.19e-08
Energy Flux (Free Index): 1.39e-05 +/- 9.89e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/933508/cmap_HighResolution_569808001_570067201_4FGL_J0900.7-1243_daily_bin1275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.76e-03', comment='SUCCESS', energy_flux2='1.39e-05', dlogl='1.53e+00', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-08-30 21:01:27.159739', photon_index_error2='3.55', photon_index2='4.94', ts='0.52', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='9.89e-06', EG='0.63', time_epoch_completed='1630382487.16', return_code='0', job_id='933508', GAL2='1.17', EG2='0.53', return_code2='102', photon_flux_error2='6.19e-08', ts2='3.92', photon_index='2.28' WHERE bin_id='1275' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:01:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 933508: <4FGL_J0900.7-1243_daily_bin1275> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin1275> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Aug 30 20:46:04 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:46:06 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:46:06 2021
Terminated at Mon Aug 30 21:01:27 2021
Results reported at Mon Aug 30 21:01:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1275 135.175 -12.7201 569808001 570067201 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 :                                   680.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

