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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1332
RA = 135.175, Dec = -12.7201
tmin = 584582401, tmax = 584841601
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='934909', job_status='RUN', time_executed='2021-08-30 20:54:18.071636', time_epoch_executed='1630382058.07' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1332'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934909

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934909/ft1_4FGL_J0900.7-1243_daily_bin1332.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934909/ft2_4FGL_J0900.7-1243_daily_bin1332.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934909/ft1_4FGL_J0900.7-1243_daily_bin1332.fits outfile=/scratch/kocevski/934909/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1332.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=584582401.0 tmax=584841601.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 2.83
user 2.62
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/934909/ft2_4FGL_J0900.7-1243_daily_bin1332.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/934909/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1332.fits evtable="EVENTS" outfile="/scratch/kocevski/934909/ft1_filtered_4FGL_J0900.7-1243_daily_bin1332.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.56
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934909/ft1_filtered_4FGL_J0900.7-1243_daily_bin1332.fits" evtable="EVENTS" scfile=/scratch/kocevski/934909/ft2_4FGL_J0900.7-1243_daily_bin1332.fits sctable="SC_DATA" outfile=/scratch/kocevski/934909/ltcube_584582401_584841601_4FGL_J0900.7-1243_daily_bin1332.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/934909/ft2_4FGL_J0900.7-1243_daily_bin1332.fits
.....................!
real 12.65
user 12.13
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934909/ft1_filtered_4FGL_J0900.7-1243_daily_bin1332.fits evtable="EVENTS" scfile=/scratch/kocevski/934909/ft2_4FGL_J0900.7-1243_daily_bin1332.fits sctable="SC_DATA" expcube=/scratch/kocevski/934909/ltcube_584582401_584841601_4FGL_J0900.7-1243_daily_bin1332.fits outfile=/scratch/kocevski/934909/expmap_584582401_584841601_4FGL_J0900.7-1243_daily_bin1332.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/934909/ltcube_584582401_584841601_4FGL_J0900.7-1243_daily_bin1332.fits
.....................!
real 192.54
user 185.59
sys 4.65

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/934909/ft1_filtered_4FGL_J0900.7-1243_daily_bin1332.fits scfile=/scratch/kocevski/934909/ft2_4FGL_J0900.7-1243_daily_bin1332.fits outfile=/scratch/kocevski/934909/cmap_584582401_584841601_4FGL_J0900.7-1243_daily_bin1332.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934909/ft1_filtered_4FGL_J0900.7-1243_daily_bin1332.fits scfile=/scratch/kocevski/934909/ft2_4FGL_J0900.7-1243_daily_bin1332.fits outfile=/scratch/kocevski/934909/cmap_HighResolution_584582401_584841601_4FGL_J0900.7-1243_daily_bin1332.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/934909/ft1_filtered_4FGL_J0900.7-1243_daily_bin1332.fits evtable="EVENTS" scfile=/scratch/kocevski/934909/ft2_4FGL_J0900.7-1243_daily_bin1332.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934909/Model_4FGL_J0900.7-1243_daily_bin1332.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/934909/ft1_filtered_4FGL_J0900.7-1243_daily_bin1332.fits.....................!
real 74.89
user 72.64
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6937       1.0000         .10000E-03   10000.    
     3 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    20.118       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.799       1.0000         .10000E-03   10000.    
     6 'norm      '    11.829       1.0000         .10000E-03   10000.    
     7 'norm      '    .10567E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10288       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.5376       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11191E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.891       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.5635       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.7581       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1406       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0746       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6346.075     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2212 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5183        .14155E-05** at limit **
   2  Prefactor     3.6923        4.3099       -.17049E-06   -.18143E-03
   3  norm          .10000E-03    11.610       -.92330E-05** at limit **
   4  norm          20.122        9.3873       -.27895E-06    .10527E-03
   5  Prefactor     30.756        41.516       -.38467E-04    .76017E-06
   6  norm          11.834        13.310        .87707E-05   -.16100E-04
   7  norm          .10010E-03    2.0835        .25887E-06** at limit **
   8  Prefactor     .10056E-03    6.5605       -.96637E-06** at limit **
   9  Prefactor     .10000E-03    6.1426       -.63694E-06** at limit **
  10  Prefactor     .10000E-03    3.0020        .63555E-07** at limit **
  11  norm          9.5291        12.036        .58710E-06   -.26152E-04
  12  Prefactor     .10000E-03    44.347        .20036E-06** at limit **
  13  Prefactor     .10000E-03    9.9622        .70417E-05** at limit **
  14  Prefactor     .10000E-03    17.616       -.45540E-05** at limit **
  15  Prefactor     33.884        34.747       -.12878E-04    .16577E-04
  16  Prefactor     .10000E-03    8.6030       -.30672E-05** at limit **
  17  Prefactor     3.5580        12.663        .18082E-05   -.10180E-03
  18  norm          .10000E-03    1.8323       -.14583E-06** at limit **
  19  norm          7.7564        5.8777       -.16144E-06   -.36374E-04
  20  Normalizat    1.1406        .24656        .72084E-05   -.93088E-04
  21  Prefactor     1.0749        .12978       -.14728E-05    .52026E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.69225
  norm       = 0.0001
  norm       = 20.1217
  Prefactor  = 30.756
  norm       = 11.8344
  norm       = 0.000100097
  Prefactor  = 0.000100559
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.52913
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.8835
  Prefactor  = 0.0001
  Prefactor  = 3.55805
  norm       = 0.0001
  norm       = 7.75639
  Normalizat = 1.14056
  Prefactor  = 1.07494
 **********
 **   18 **HESSE 
 **********

 FCN=   6346.075     FROM HESSE     STATUS=OK           325 CALLS     2537 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.5742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.6923        4.3061        .17346E-03   -1.5324    
   3  norm          .10000E-03    11.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          20.122        9.3900        .89298E-04   -1.4811    
   5  Prefactor     30.756        41.602        .72197E-04   -1.4598    
   6  norm          11.834        13.077        .11647E-03   -1.5020    
   7  norm          .10010E-03    14.654        .21691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10056E-03    9.0881        .50255E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.1658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.0054        .13479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.5291        12.076        .12976E-03   -1.5090    
  12  Prefactor     .10000E-03    44.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.9621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.884        34.799        .68834E-04   -1.4543    
  16  Prefactor     .10000E-03    8.6048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.5580        12.652        .21410E-03   -1.5331    
  18  norm          .10000E-03    1.8341        .10531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.7564        5.8793        .14397E-03   -1.5151    
  20  Normalizat    1.1406        .28223        .33870E-03   -.88460    
  21  Prefactor     1.0749        .14923        .19192E-03   -.90272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.71352e-09
Minuit parameter uncertainties:
  1  7.15299e-06
  2  4.30648
  3  8.20321e-06
  4  9.39068
  5  41.6412
  6  13.0798
  7  0.00239103
  8  0.00450804
  9  2.91397e-05
  10  1.11377e-06
  11  12.0795
  12  0.000157188
  13  1.48271e-05
  14  5.77713e-06
  15  34.8197
  16  3.48328e-06
  17  12.6611
  18  5.90646e-07
  19  5.8797
  20  0.282607
  21  0.149289
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  2.914e-05  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.075e+00  1.493e-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.141e+00  2.826e-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: 7.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/934909/likelihoodResults_584582401_584841601_4FGL_J0900.7-1243_daily_bin1332.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) = 6346.07530076
delta logL = -0.000771948599322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6346.07452879
delta logL = 2.55486156675e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2638       1.0000          .0000       10.000    
     3 'Normalizat'    1.1406       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0749       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=   6346.075     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      241 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10080E-03    61.311        .18142E-02** at limit **
   2  Index         2.2183        8.8865        .50000        .16965E-04
   3  Normalizat    1.1406        .19265E-01    .33870E-03   -.28867E-04
   4  Prefactor     1.0749        .10701E-01    .19192E-03   -.10959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100799
  Index      = 2.21832
  Normalizat = 1.14057
  Prefactor  = 1.07493
 **********
 **   18 **HESSE 
 **********

 FCN=   6346.075     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10080E-03    268.03        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2183        5.9267        .50000       -.58997    
   3  Normalizat    1.1406        .41965E-01    .13548E-04   -.88460    
   4  Prefactor     1.0749        .23309E-01    .76768E-05   -.90272    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.84543e-08
Minuit parameter uncertainties:
  1  0.0293936
  2  584.143
  3  0.0419662
  4  0.0233091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934909': 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) = 6346.07452861
delta logL = 2.0251263777e-07

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.008e-04  2.939e-02  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.218e+00  5.841e+02  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.075e+00  2.331e-02  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.141e+00  4.197e-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/934909/cmap_HighResolution_584582401_584841601_4FGL_J0900.7-1243_daily_bin1332.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.76e-03', job_status='DONE', photon_flux_upper_limit='7.52e-08', time_completed='2021-08-30 21:06:49.565652', job_id='934909', GAL2='1.07', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1630382809.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.03e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1332' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:06:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 934909: <4FGL_J0900.7-1243_daily_bin1332> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin1332> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug 30 20:50:29 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:50:30 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:50:30 2021
Terminated at Mon Aug 30 21:06:50 2021
Results reported at Mon Aug 30 21:06:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1332 135.175 -12.7201 584582401 584841601 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 :                                   610.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             221.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            981 sec.

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

