/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 8 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 = 7490
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0900.7-1243_daily_bin192
RA = 135.175, Dec = -12.7201
tmin = 289094401, tmax = 289353601
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='925559', job_status='RUN', time_executed='2021-08-30 20:20:58.405518', time_epoch_executed='1630380058.41' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='192'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925559

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925559/ft1_4FGL_J0900.7-1243_daily_bin192.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925559/ft2_4FGL_J0900.7-1243_daily_bin192.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925559/ft1_4FGL_J0900.7-1243_daily_bin192.fits outfile=/scratch/kocevski/925559/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin192.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=289094401.0 tmax=289353601.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.55
user 3.32
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925559/ft1_filtered_4FGL_J0900.7-1243_daily_bin192.fits" evtable="EVENTS" scfile=/scratch/kocevski/925559/ft2_4FGL_J0900.7-1243_daily_bin192.fits sctable="SC_DATA" outfile=/scratch/kocevski/925559/ltcube_289094401_289353601_4FGL_J0900.7-1243_daily_bin192.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/925559/ft2_4FGL_J0900.7-1243_daily_bin192.fits
.....................!
real 11.67
user 11.37
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925559/ft1_filtered_4FGL_J0900.7-1243_daily_bin192.fits evtable="EVENTS" scfile=/scratch/kocevski/925559/ft2_4FGL_J0900.7-1243_daily_bin192.fits sctable="SC_DATA" expcube=/scratch/kocevski/925559/ltcube_289094401_289353601_4FGL_J0900.7-1243_daily_bin192.fits outfile=/scratch/kocevski/925559/expmap_289094401_289353601_4FGL_J0900.7-1243_daily_bin192.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/925559/ltcube_289094401_289353601_4FGL_J0900.7-1243_daily_bin192.fits
.....................!
real 190.13
user 185.91
sys 3.88

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/925559/ft1_filtered_4FGL_J0900.7-1243_daily_bin192.fits scfile=/scratch/kocevski/925559/ft2_4FGL_J0900.7-1243_daily_bin192.fits outfile=/scratch/kocevski/925559/cmap_289094401_289353601_4FGL_J0900.7-1243_daily_bin192.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925559/ft1_filtered_4FGL_J0900.7-1243_daily_bin192.fits scfile=/scratch/kocevski/925559/ft2_4FGL_J0900.7-1243_daily_bin192.fits outfile=/scratch/kocevski/925559/cmap_HighResolution_289094401_289353601_4FGL_J0900.7-1243_daily_bin192.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.52
user 0.38
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/925559/ft1_filtered_4FGL_J0900.7-1243_daily_bin192.fits evtable="EVENTS" scfile=/scratch/kocevski/925559/ft2_4FGL_J0900.7-1243_daily_bin192.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925559/Model_4FGL_J0900.7-1243_daily_bin192.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/925559/ft1_filtered_4FGL_J0900.7-1243_daily_bin192.fits.....................!
real 98.99
user 96.99
sys 1.42

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1179       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .22686E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    11.302       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    39.202       1.0000         .10000E-03   10000.    
     7 'norm      '    7.7906       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2383       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .59692E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    11.243       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10390E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6782       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.242       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.1869       1.0000         .10000E-03   10000.    
    16 'Prefactor '    48.398       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .54251E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.9166       1.0000         .10000E-03   10000.    
    19 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .91040       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95528       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=   9173.489     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2281 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1158        7.6711       -.45937E-06   -.58207E-04
   2  Prefactor     .10000E-03    1.5085       -.10809E-06** at limit **
   3  norm          11.301        11.456       -.53076E-07    .22550E-04
   4  norm          .10000E-03    2.9497       -.38035E-07** at limit **
   5  Prefactor     .10000E-03    7.5972       -.21661E-07** at limit **
   6  norm          39.217        10.640        .34711E-06   -.80639E-04
   7  norm          7.7962        3.2392       -.12241E-06    .13156E-03
   8  Prefactor     2.2383        3.2349       -.40522E-06   -.59858E-03
   9  Prefactor     .10001E-03    5.4918       -.32986E-06** at limit **
  10  Prefactor     .10000E-03    3.1360       -.68591E-08** at limit **
  11  norm          11.241        6.2440        .43516E-06   -.14195E-03
  12  Prefactor     .10000E-03    18.130        .35211E-06** at limit **
  13  Prefactor     3.6633        51.434       -.14567E-04    .38866E-04
  14  Prefactor     23.221        32.079       -.10705E-04    .25707E-03
  15  Prefactor     9.1837        14.905        .72711E-06   -.43168E-04
  16  Prefactor     48.398        30.517       -.40586E-07    .73062E-04
  17  Prefactor     .10000E-03    6.2545        .35445E-06** at limit **
  18  norm          1.9146        5.7097       -.16675E-05   -.80823E-03
  19  norm          .10000E-03    1.8982       -.18743E-08** at limit **
  20  Normalizat    .91062        .16400        .16850E-05    .11572E-04
  21  Prefactor     .95522        .93655E-01    .70093E-07    .19616E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.11583
  Prefactor  = 0.0001
  norm       = 11.3014
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 39.2174
  norm       = 7.79625
  Prefactor  = 2.23825
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  norm       = 11.2414
  Prefactor  = 0.0001
  Prefactor  = 3.66334
  Prefactor  = 23.2208
  Prefactor  = 9.18366
  Prefactor  = 48.3976
  Prefactor  = 0.000100001
  norm       = 1.91458
  norm       = 0.0001
  Normalizat = 0.910623
  Prefactor  = 0.955219
 **********
 **   18 **HESSE 
 **********

 FCN=   9173.489     FROM HESSE     STATUS=OK           331 CALLS     2612 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1158        7.6663        .15036E-03   -1.5174    
   2  Prefactor     .10000E-03    17.373        .22803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.301        11.452        .11917E-03   -1.5035    
   4  norm          .10000E-03    3.0006        .16055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.6125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          39.217        10.636        .64017E-04   -1.4455    
   7  norm          7.7962        3.2375        .10468E-03   -1.5149    
   8  Prefactor     2.2383        3.2482        .19952E-03   -1.5409    
   9  Prefactor     .10001E-03    7.8727        .70411E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.1611        .16560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.241        6.2486        .11948E-03   -1.5037    
  12  Prefactor     .10000E-03    18.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.6633        51.377        .21060E-03   -1.5325    
  14  Prefactor     23.221        31.326        .83086E-04   -1.4744    
  15  Prefactor     9.1837        14.890        .13223E-03   -1.5102    
  16  Prefactor     48.398        29.975        .57640E-04   -1.4315    
  17  Prefactor     .10000E-03    38.071        .45727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.9146        5.8938        .30020E-03   -1.5431    
  19  norm          .10000E-03    5.1184        .25624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .91062        .18872        .30733E-03   -.96088    
  21  Prefactor     .95522        .10905        .17873E-03   -.94237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86454e-09
Minuit parameter uncertainties:
  1  7.66735
  2  3.32217e-05
  3  11.4541
  4  8.926e-06
  5  1.01089e-05
  6  10.6368
  7  3.23758
  8  3.24848
  9  0.000625499
  10  4.71603e-06
  11  6.24897
  12  0.000111866
  13  27.4662
  14  31.3481
  15  14.8963
  16  29.9847
  17  0.000365831
  18  5.89557
  19  3.88327e-06
  20  0.188859
  21  0.109072
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  6.255e-04  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:  9.552e-01  1.091e-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:  9.106e-01  1.889e-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: 6.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925559/likelihoodResults_289094401_289353601_4FGL_J0900.7-1243_daily_bin192.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) = 9173.48890587
delta logL = -3.01482305076e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9173.48890586
delta logL = -3.01412055705e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96344E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2782       1.0000          .0000       10.000    
     3 'Normalizat'    .91060       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95522       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=   9173.489     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      245 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10037E-03    .18742        .90714E-01** at limit **
   2  Index         2.1120        8.5846        .50000       -.68434E-05
   3  Normalizat    .91062        .69103E-03    .69465E-01    .16041E-03
   4  Prefactor     .95522        .41286E-03    .45705E-01    .30425E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100367
  Index      = 2.11204
  Normalizat = 0.910624
  Prefactor  = 0.955219
 **********
 **   18 **HESSE 
 **********

 FCN=   9173.489     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      286 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10037E-03    .23959        .80161E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1120        8.7666        .50000       -.61578    
   3  Normalizat    .91062        .72154E-03    .30733E-03   -.96088    
   4  Prefactor     .95522        .43165E-03    .17873E-03   -.94237    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.33681e-10
Minuit parameter uncertainties:
  1  0.00059338
  2  15.174
  3  0.000721537
  4  0.000431655
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925559': 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) = 9173.48887569
delta logL = 3.12975316774e-08

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.004e-04  5.934e-04  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.112e+00  1.517e+01  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.552e-01  4.317e-04  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:  9.106e-01  7.215e-04  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/925559/cmap_HighResolution_289094401_289353601_4FGL_J0900.7-1243_daily_bin192.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.15e-03', job_status='DONE', photon_flux_upper_limit='6.72e-08', time_completed='2021-08-30 20:33:33.883171', job_id='925559', GAL2='0.96', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1630380813.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='3.13e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='192' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:33:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 925559: <4FGL_J0900.7-1243_daily_bin192> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin192> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Aug 30 20:20:34 2021
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:20:36 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:20:36 2021
Terminated at Mon Aug 30 20:33:34 2021
Results reported at Mon Aug 30 20:33:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin192 135.175 -12.7201 289094401 289353601 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 :                                   748.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            780 sec.

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

