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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1004
RA = 135.175, Dec = -12.7201
tmin = 499564801, tmax = 499824001
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='931716', job_status='RUN', time_executed='2021-08-30 20:43:54.950532', time_epoch_executed='1630381434.95' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1004'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931716

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931716/ft1_4FGL_J0900.7-1243_daily_bin1004.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931716/ft2_4FGL_J0900.7-1243_daily_bin1004.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931716/ft1_4FGL_J0900.7-1243_daily_bin1004.fits outfile=/scratch/kocevski/931716/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1004.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=499564801.0 tmax=499824001.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 6.29
user 4.78
sys 1.48

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931716/ft1_filtered_4FGL_J0900.7-1243_daily_bin1004.fits" evtable="EVENTS" scfile=/scratch/kocevski/931716/ft2_4FGL_J0900.7-1243_daily_bin1004.fits sctable="SC_DATA" outfile=/scratch/kocevski/931716/ltcube_499564801_499824001_4FGL_J0900.7-1243_daily_bin1004.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/931716/ft2_4FGL_J0900.7-1243_daily_bin1004.fits
.....................!
real 13.50
user 11.76
sys 1.70

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931716/ft1_filtered_4FGL_J0900.7-1243_daily_bin1004.fits evtable="EVENTS" scfile=/scratch/kocevski/931716/ft2_4FGL_J0900.7-1243_daily_bin1004.fits sctable="SC_DATA" expcube=/scratch/kocevski/931716/ltcube_499564801_499824001_4FGL_J0900.7-1243_daily_bin1004.fits outfile=/scratch/kocevski/931716/expmap_499564801_499824001_4FGL_J0900.7-1243_daily_bin1004.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/931716/ltcube_499564801_499824001_4FGL_J0900.7-1243_daily_bin1004.fits
.....................!
real 191.98
user 185.27
sys 6.28

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

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

This is gtbin version HEAD
real 1.76
user 0.38
sys 1.36

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

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

This is gtbin version HEAD
real 1.79
user 0.39
sys 1.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931716/ft1_filtered_4FGL_J0900.7-1243_daily_bin1004.fits evtable="EVENTS" scfile=/scratch/kocevski/931716/ft2_4FGL_J0900.7-1243_daily_bin1004.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931716/Model_4FGL_J0900.7-1243_daily_bin1004.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/931716/ft1_filtered_4FGL_J0900.7-1243_daily_bin1004.fits.....................!
real 77.21
user 74.15
sys 2.79

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    15.684       1.0000         .10000E-03   10000.    
     4 'norm      '    .11102E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    34.460       1.0000         .10000E-03   10000.    
     6 'norm      '    9.2091       1.0000         .10000E-03   10000.    
     7 'norm      '    .14402E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8085       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.7620       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.1517       1.0000         .10000E-03   10000.    
    11 'norm      '    5.3749       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1716       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.130       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .41109       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13197E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.6682       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .77285       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0904       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=   7214.468     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2254 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.9883       -.40111E-06** at limit **
   2  Prefactor     .10000E-03    2.3784       -.80728E-07** at limit **
   3  norm          15.693        15.661        .12227E-05    .21398E-03
   4  norm          .10000E-03    3.0155        .70019E-06** at limit **
   5  Prefactor     34.464        26.827        .71343E-06    .12931E-03
   6  norm          9.2059        8.5863       -.47777E-07    .10097E-03
   7  norm          .10004E-03    3.8853        .31393E-05** at limit **
   8  Prefactor     8.8077        6.6489        .29909E-07    .23380E-03
   9  Prefactor     6.7644        14.676        .36369E-06    .11209E-03
  10  Prefactor     7.1479        8.1249       -.15165E-06    .47168E-04
  11  norm          5.3757        4.2769        .12159E-06    .41871E-04
  12  Prefactor     2.1816        49.796        .61522E-06    .40277E-04
  13  Prefactor     .10000E-03    13.153       -.16125E-06** at limit **
  14  Prefactor     21.150        43.973        .35468E-05    .92288E-04
  15  Prefactor     .35841        126.12       -.22346E-04    .23673E-03
  16  Prefactor     .10000E-03    6.8322       -.53748E-07** at limit **
  17  Prefactor     .10009E-03    19.732       -.91435E-05** at limit **
  18  norm          .10000E-03    2.0019       -.16192E-06** at limit **
  19  norm          5.6713        3.6257        .67026E-07    .16015E-03
  20  Normalizat    .77295        .19956        .14530E-05    .46523E-03
  21  Prefactor     1.0904        .11357       -.19777E-06    .22269E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.6929
  norm       = 0.000100001
  Prefactor  = 34.4644
  norm       = 9.20588
  norm       = 0.000100043
  Prefactor  = 8.80766
  Prefactor  = 6.76437
  Prefactor  = 7.14786
  norm       = 5.37573
  Prefactor  = 2.18164
  Prefactor  = 0.0001
  Prefactor  = 21.1502
  Prefactor  = 0.358412
  Prefactor  = 0.0001
  Prefactor  = 0.000100086
  norm       = 0.0001
  norm       = 5.67127
  Normalizat = 0.772947
  Prefactor  = 1.09041
 **********
 **   18 **HESSE 
 **********

 FCN=   7214.468     FROM HESSE     STATUS=OK           329 CALLS     2583 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4012        .12795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.693        15.747        .10113E-03   -1.4915    
   4  norm          .10000E-03    7.7885        .28088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     34.464        26.847        .68265E-04   -1.4533    
   6  norm          9.2059        8.4806        .13207E-03   -1.5101    
   7  norm          .10004E-03    24.658        .20032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.8077        6.6657        .13505E-03   -1.5114    
   9  Prefactor     6.7644        14.488        .15430E-03   -1.5188    
  10  Prefactor     7.1479        8.1074        .15000E-03   -1.5173    
  11  norm          5.3757        4.2760        .15197E-03   -1.5244    
  12  Prefactor     2.1816        50.402        .27943E-03   -1.5413    
  13  Prefactor     .10000E-03    13.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.150        43.675        .87136E-04   -1.4788    
  15  Prefactor     .35841        28.117        .11484       -1.5588    
  16  Prefactor     .10000E-03    6.8337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10009E-03    26.732        .41560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.0133        .11737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.6713        3.6259        .12557E-03   -1.5232    
  20  Normalizat    .77295        .22230        .33832E-03   -1.0108    
  21  Prefactor     1.0904        .12641        .17492E-03   -.89774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.15252e-09
Minuit parameter uncertainties:
  1  8.72035e-05
  2  7.87167e-06
  3  15.7514
  4  0.000207277
  5  26.8563
  6  8.48174
  7  0.00206719
  8  6.66623
  9  14.4959
  10  8.10864
  11  4.27621
  12  20.9917
  13  1.4238e-05
  14  43.7411
  15  6.35126
  16  2.07633e-06
  17  0.00302604
  18  3.75685e-06
  19  3.62603
  20  0.222565
  21  0.12644
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  6.764e+00  1.450e+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.090e+00  1.264e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  7.729e-01  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/931716/likelihoodResults_499564801_499824001_4FGL_J0900.7-1243_daily_bin1004.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) = 7214.39770972
delta logL = 0.0703196078912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7214.36389486
delta logL = 0.104134468962

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4307       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9030       1.0000          .0000       10.000    
     3 'Normalizat'    .75501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0964       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=   7214.364     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      279 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4292        381.24        .21838E-03   -.53891E-03
   2  Index         2.9032        5.1439        .86549E-02   -.11166E-03
   3  Normalizat    .75504        .23120        .34196E-03    .29552E-03
   4  Prefactor     1.0964        .14542        .17448E-03    .41602E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.42923
  Index      = 2.90319
  Normalizat = 0.755045
  Prefactor  = 1.09641
 **********
 **   18 **HESSE 
 **********

 FCN=   7214.364     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4292        11.383        .87353E-05   -1.5338    
   2  Index         2.9032        1.5370        .34619E-03   -.43274    
   3  Normalizat    .75504        .20808        .13678E-04   -1.0176    
   4  Prefactor     1.0964        .12381        .34896E-04   -.89581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.58142e-10
Minuit parameter uncertainties:
  1  11.3904
  2  1.568
  3  0.2083
  4  0.123843
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931716': 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) = 7214.36389479
delta logL = 0.104134540715

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  3.429e+00  1.139e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.903e+00  1.568e+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.096e+00  1.238e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  7.550e-01  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
Ra Dec: 135.175 -12.720

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/931716/cmap_HighResolution_499564801_499824001_4FGL_J0900.7-1243_daily_bin1004.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.71e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-08-30 20:55:20.718835', job_id='931716', GAL2='1.10', fit_tolerance='1e-08', EG2='0.76', EG='0.77', time_epoch_completed='1630382120.72', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.04e-01', ts2='0.49', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1004' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:55:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 931716: <4FGL_J0900.7-1243_daily_bin1004> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin1004> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Aug 30 20:40:56 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:40:57 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:40:57 2021
Terminated at Mon Aug 30 20:55:21 2021
Results reported at Mon Aug 30 20:55:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1004 135.175 -12.7201 499564801 499824001 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 :                                   699.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            865 sec.

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

