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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1013
RA = 135.175, Dec = -12.7201
tmin = 501897601, tmax = 502156801
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='931729', job_status='RUN', time_executed='2021-08-30 20:43:55.052273', time_epoch_executed='1630381435.05' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1013'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931729

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931729/ft1_4FGL_J0900.7-1243_daily_bin1013.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931729/ft2_4FGL_J0900.7-1243_daily_bin1013.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931729/ft1_4FGL_J0900.7-1243_daily_bin1013.fits outfile=/scratch/kocevski/931729/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1013.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=501897601.0 tmax=502156801.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.90
user 3.22
sys 0.64

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931729/ft1_filtered_4FGL_J0900.7-1243_daily_bin1013.fits" evtable="EVENTS" scfile=/scratch/kocevski/931729/ft2_4FGL_J0900.7-1243_daily_bin1013.fits sctable="SC_DATA" outfile=/scratch/kocevski/931729/ltcube_501897601_502156801_4FGL_J0900.7-1243_daily_bin1013.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/931729/ft2_4FGL_J0900.7-1243_daily_bin1013.fits
.....................!
real 12.09
user 11.27
sys 0.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931729/ft1_filtered_4FGL_J0900.7-1243_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/931729/ft2_4FGL_J0900.7-1243_daily_bin1013.fits sctable="SC_DATA" expcube=/scratch/kocevski/931729/ltcube_501897601_502156801_4FGL_J0900.7-1243_daily_bin1013.fits outfile=/scratch/kocevski/931729/expmap_501897601_502156801_4FGL_J0900.7-1243_daily_bin1013.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/931729/ltcube_501897601_502156801_4FGL_J0900.7-1243_daily_bin1013.fits
.....................!
real 190.73
user 185.13
sys 5.10

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/931729/ft1_filtered_4FGL_J0900.7-1243_daily_bin1013.fits scfile=/scratch/kocevski/931729/ft2_4FGL_J0900.7-1243_daily_bin1013.fits outfile=/scratch/kocevski/931729/cmap_501897601_502156801_4FGL_J0900.7-1243_daily_bin1013.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.96
user 0.36
sys 0.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931729/ft1_filtered_4FGL_J0900.7-1243_daily_bin1013.fits scfile=/scratch/kocevski/931729/ft2_4FGL_J0900.7-1243_daily_bin1013.fits outfile=/scratch/kocevski/931729/cmap_HighResolution_501897601_502156801_4FGL_J0900.7-1243_daily_bin1013.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.97
user 0.37
sys 0.57

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931729/ft1_filtered_4FGL_J0900.7-1243_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/931729/ft2_4FGL_J0900.7-1243_daily_bin1013.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931729/Model_4FGL_J0900.7-1243_daily_bin1013.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/931729/ft1_filtered_4FGL_J0900.7-1243_daily_bin1013.fits....................!
real 73.33
user 71.26
sys 1.81

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6884       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0401       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.152       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.3691       1.0000         .10000E-03   10000.    
     7 'norm      '    .51017       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.960       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .62350       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    17.035       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.464       1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.276       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.3782       1.0000         .10000E-03   10000.    
    19 'norm      '    3.3554       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .65350       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0715       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6441.966     FROM MIGRAD    STATUS=FAILED       769 CALLS     2524 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6878        9.3152        .12874E-03   -.37088E-05
   2  Prefactor     4.0398        3.5053        .13590E-03   -.16146E-04
   3  norm          .10000E-03    7.9862        .18142E-02** at limit **
   4  norm          10.151        7.9184        .12576E-03   -.31550E-04
   5  Prefactor     .10000E-03    16.202        .18142E-02** at limit **
   6  norm          2.3734        7.6268        .13310E-02    .23711E-04
   7  norm          .51150        3.3533        .26639E-03   -.28594E-04
   8  Prefactor     15.959        8.1355        .10026E-03   -.63049E-04
   9  Prefactor     .55873        84.878        .41691E-02    .78990E-03
  10  Prefactor     .10000E-03    3.0663        .13689E-02** at limit **
  11  norm          17.034        8.4684        .97041E-04   -.38192E-04
  12  Prefactor     15.460        15.901        .10185E-03   -.78917E-04
  13  Prefactor     40.268        47.220        .63161E-04   -.15120E-04
  14  Prefactor     .10000E-03    25.464        .18142E-02** at limit **
  15  Prefactor     .10000E-03    12.030        .18142E-02** at limit **
  16  Prefactor     .10000E-03    14.223        .18142E-02** at limit **
  17  Prefactor     .10000E-03    5.0625        .17626E-02** at limit **
  18  norm          8.3766        8.3061        .13850E-03    .39401E-05
  19  norm          3.3551        3.7559        .16006E-03   -.19248E-04
  20  Normalizat    .65356        .22331        .36066E-03   -.13132E-03
  21  Prefactor     1.0715        .13173        .17329E-03   -.43628E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6441.966     FROM SIMPLEX   STATUS=UNCHANGED   1036 CALLS     3560 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6878        9.3152        .20401E-06   -1.5085    
   2  Prefactor     4.0398        3.5053        .21350E-06   -1.5306    
   3  norm          .10000E-03    7.9862        .44304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.151        7.9184        .19755E-06   -1.5071    
   5  Prefactor     .10000E-03    16.202        .58557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.3734        7.6268        .20221E-06   -1.5400    
   7  norm          .51150        3.3533        .20460E-06   -1.5565    
   8  Prefactor     15.959        8.1355        .19581E-06   -1.4909    
   9  Prefactor     .55873        84.878        .20926E-06   -1.5558    
  10  Prefactor     .10000E-03    3.0663        .21147E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          17.034        8.4684        .19551E-06   -1.4882    
  12  Prefactor     15.460        15.901        .19657E-06   -1.4921    
  13  Prefactor     40.268        47.220        .19368E-06   -1.4438    
  14  Prefactor     .10000E-03    25.464        .47791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.030        .18679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.223        .50359E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.0625        .24917E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.3766        8.3061        .19841E-06   -1.5129    
  19  norm          3.3551        3.7559        .20125E-06   -1.5342    
  20  Normalizat    .65356        .22331        .13902E-06   -1.0576    
  21  Prefactor     1.0715        .13173        .11853E-06   -.90382    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6441.966     FROM MIGRAD    STATUS=CONVERGED    302 CALLS     3862 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6878        9.3145        .51498E-05    .88305E-07
   2  Prefactor     4.0398        3.5052        .54358E-05   -.83658E-07
   3  norm          .10000E-03    7.9866        .36285E-03** at limit **
   4  norm          10.151        7.9166        .50303E-05    .27121E-06
   5  Prefactor     .10000E-03    16.204        .36285E-03** at limit **
   6  norm          2.3734        7.6006        .53241E-04    .42706E-06
   7  norm          .51150        3.3157        .10656E-04    .14937E-05
   8  Prefactor     15.959        8.1350        .40102E-05    .56698E-06
   9  Prefactor     .55872        83.276        .83381E-03    .30370E-04
  10  Prefactor     .10000E-03    3.0666        .27379E-03** at limit **
  11  norm          17.034        8.4667        .38816E-05    .11715E-06
  12  Prefactor     15.460        15.899        .40740E-05    .11162E-06
  13  Prefactor     40.268        47.202        .25264E-05     .0000    
  14  Prefactor     .10000E-03    25.466        .36285E-03** at limit **
  15  Prefactor     .10000E-03    12.030        .36285E-03** at limit **
  16  Prefactor     .10000E-03    14.223        .36285E-03** at limit **
  17  Prefactor     .10000E-03    5.0627        .35252E-03** at limit **
  18  norm          8.3766        8.3038        .55400E-05    .32834E-06
  19  norm          3.3551        3.7556        .64026E-05    .42615E-06
  20  Normalizat    .65357        .22266        .14426E-04    .12609E-05
  21  Prefactor     1.0715        .13179        .69315E-05    .26242E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.68785
  Prefactor  = 4.03983
  norm       = 0.0001
  norm       = 10.1508
  Prefactor  = 0.0001
  norm       = 2.37335
  norm       = 0.511501
  Prefactor  = 15.9588
  Prefactor  = 0.558715
  Prefactor  = 0.0001
  norm       = 17.0336
  Prefactor  = 15.4602
  Prefactor  = 40.2678
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.37656
  norm       = 3.35505
  Normalizat = 0.653567
  Prefactor  = 1.07152
 **********
 **   18 **HESSE 
 **********

 FCN=   6441.966     FROM HESSE     STATUS=OK           297 CALLS     4159 TOTAL
                     EDM=   .90E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6878        9.3142        .51498E-05   -1.5085    
   2  Prefactor     4.0398        3.5052        .54358E-05   -1.5306    
   3  norm          .10000E-03    7.9866        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.151        7.9163        .50303E-05   -1.5071    
   5  Prefactor     .10000E-03    16.204        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.3734        7.5985        .21296E-05   -1.5400    
   7  norm          .51150        3.3091        .21311E-05   -1.5565    
   8  Prefactor     15.959        8.1368        .80205E-06   -1.4909    
   9  Prefactor     .55872        82.765        .16676E-03   -1.5558    
  10  Prefactor     .10000E-03    3.0667        .54758E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          17.034        8.4660        .38816E-05   -1.4882    
  12  Prefactor     15.460        15.899        .40740E-05   -1.4921    
  13  Prefactor     40.268        47.200        .25264E-05   -1.4438    
  14  Prefactor     .10000E-03    25.466        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.030        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.223        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.0628        .70505E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.3766        8.3032        .55400E-05   -1.5129    
  19  norm          3.3551        3.7555        .64026E-05   -1.5342    
  20  Normalizat    .65357        .22242        .28853E-05   -1.0576    
  21  Prefactor     1.0715        .13172        .13863E-05   -.90382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.98206e-14
Minuit parameter uncertainties:
  1  9.31563
  2  3.50534
  3  1.68441e-08
  4  7.9171
  5  1.0159e-06
  6  7.6016
  7  2.60195
  8  8.13732
  9  13.6183
  10  1.34731e-07
  11  8.46659
  12  15.9031
  13  47.2435
  14  1.58009e-06
  15  3.77055e-07
  16  1.10125e-07
  17  7.96901e-08
  18  8.30432
  19  3.7558
  20  0.222721
  21  0.131758
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  5.587e-01  1.362e+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.072e+00  1.318e-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.536e-01  2.227e-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: 9.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/931729/likelihoodResults_501897601_502156801_4FGL_J0900.7-1243_daily_bin1013.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) = 6441.44204035
delta logL = 0.523838363285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6440.93636735
delta logL = 1.02951136605

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.6795       1.0000          .0000       10.000    
     3 'Normalizat'    .55576       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1082       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=   6440.936     FROM MIGRAD    STATUS=CONVERGED    246 CALLS      564 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .29615E-02    .32497E-03** at limit **
   2  Index         7.6793        2.2517        .13468        .18656E-03
   3  Normalizat    .55585        .49819E-01    .87940E-01    .30623E-03
   4  Prefactor     1.1082        .29472E-01    .37284E-01    .45143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.67935
  Normalizat = 0.555847
  Prefactor  = 1.10817
 **********
 **   18 **HESSE 
 **********

 FCN=   6440.936     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      603 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .19545E-01    .16541E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.6793        7.5073        .50502E-02    .56554    
   3  Normalizat    .55585        .11755        .38961E-03   -1.0989    
   4  Prefactor     1.1082        .69597E-01    .17071E-03   -.89206    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.23943e-09
Minuit parameter uncertainties:
  1  2.69001e-08
  2  4.43886
  3  0.117606
  4  0.0696027
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931729': 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) = 6440.93636517
delta logL = 1.02951354029

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  2.690e-08  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  7.679e+00  4.439e+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.108e+00  6.960e-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:  5.558e-01  1.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.26
Ra Dec: 135.175 -12.720
Photon Index (Free Index): 7.68 +/- 4.44
Photon Flux (Free Index): 7.88e-08 +/- 8.46e-07
Energy Flux (Free Index): 9.22e-06 +/- 9.85e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/931729/cmap_HighResolution_501897601_502156801_4FGL_J0900.7-1243_daily_bin1013.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.60e-03', comment='SUCCESS', energy_flux2='9.22e-06', dlogl='1.03e+00', photon_flux2='7.88e-08', job_status='DONE', time_completed='2021-08-30 20:56:16.385216', photon_index_error2='4.44', photon_index2='7.68', ts='0.00', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='9.92e-08', energy_flux_error2='9.85e-05', EG='0.65', time_epoch_completed='1630382176.39', return_code='0', job_id='931729', GAL2='1.11', EG2='0.56', return_code2='102', photon_flux_error2='8.46e-07', ts2='2.26', photon_index='2.28' WHERE bin_id='1013' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:56:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 931729: <4FGL_J0900.7-1243_daily_bin1013> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1013 135.175 -12.7201 501897601 502156801 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 :                                   742.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            919 sec.

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

