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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin941
RA = 203.323, Dec = 27.4221
tmin = 483235201, tmax = 483494401
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='771820', job_status='RUN', time_executed='2021-09-08 03:16:20.988314', time_epoch_executed='1631096180.99' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/771820

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/771820/ft1_4FGL_J1333.2+2725_daily_bin941.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/771820/ft2_4FGL_J1333.2+2725_daily_bin941.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/771820/ft1_4FGL_J1333.2+2725_daily_bin941.fits outfile=/scratch/kocevski/771820/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin941.fits ra=203.323 dec=27.4221 rad=12.0 tmin=483235201.0 tmax=483494401.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.51
user 3.27
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/771820/ft2_4FGL_J1333.2+2725_daily_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/771820/ft2_4FGL_J1333.2+2725_daily_bin941.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/771820/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin941.fits evtable="EVENTS" outfile="/scratch/kocevski/771820/ft1_filtered_4FGL_J1333.2+2725_daily_bin941.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.51
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/771820/ft1_filtered_4FGL_J1333.2+2725_daily_bin941.fits" evtable="EVENTS" scfile=/scratch/kocevski/771820/ft2_4FGL_J1333.2+2725_daily_bin941.fits sctable="SC_DATA" outfile=/scratch/kocevski/771820/ltcube_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.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/771820/ft2_4FGL_J1333.2+2725_daily_bin941.fits
.....................!
real 17.92
user 17.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/771820/ft1_filtered_4FGL_J1333.2+2725_daily_bin941.fits evtable="EVENTS" scfile=/scratch/kocevski/771820/ft2_4FGL_J1333.2+2725_daily_bin941.fits sctable="SC_DATA" expcube=/scratch/kocevski/771820/ltcube_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.fits outfile=/scratch/kocevski/771820/expmap_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.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/771820/ltcube_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.fits
.....................!
real 193.03
user 187.77
sys 4.89

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J1333.2+2725 @ 203.323 27.4221

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/771820/ft1_filtered_4FGL_J1333.2+2725_daily_bin941.fits scfile=/scratch/kocevski/771820/ft2_4FGL_J1333.2+2725_daily_bin941.fits outfile=/scratch/kocevski/771820/cmap_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.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=203.323 yref=27.4221 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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/771820/ft1_filtered_4FGL_J1333.2+2725_daily_bin941.fits scfile=/scratch/kocevski/771820/ft2_4FGL_J1333.2+2725_daily_bin941.fits outfile=/scratch/kocevski/771820/cmap_HighResolution_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.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=203.323 yref=27.4221 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/771820/ft1_filtered_4FGL_J1333.2+2725_daily_bin941.fits evtable="EVENTS" scfile=/scratch/kocevski/771820/ft2_4FGL_J1333.2+2725_daily_bin941.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/771820/Model_4FGL_J1333.2+2725_daily_bin941.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/771820/ft1_filtered_4FGL_J1333.2+2725_daily_bin941.fits.....................!
real 48.66
user 47.21
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/771820/ft1_filtered_4FGL_J1333.2+2725_daily_bin941.fits', '/scratch/kocevski/771820/ft2_4FGL_J1333.2+2725_daily_bin941.fits', expMap='/scratch/kocevski/771820/expmap_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.fits', expCube='/scratch/kocevski/771820/ltcube_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/771820/Model_4FGL_J1333.2+2725_daily_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1333.2+2725'

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.668e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/771820/ft1_filtered_4FGL_J1333.2+2725_daily_bin941.fits
Spacecraft file(s): /scratch/kocevski/771820/ft2_4FGL_J1333.2+2725_daily_bin941.fits
Exposure map: /scratch/kocevski/771820/expmap_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.fits
Exposure cube: /scratch/kocevski/771820/ltcube_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/771820/Model_4FGL_J1333.2+2725_daily_bin941.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) = 5792.10302278

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1488       1.0000         .10000E-03   10000.    
     3 'norm      '    45.695       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10659E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.6288       1.0000         .10000E-03   10000.    
     7 'norm      '    2.3605       1.0000         .10000E-03   10000.    
     8 'norm      '    .76545       1.0000         .10000E-03   10000.    
     9 'norm      '    .10640E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.973       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.465       1.0000         .10000E-03   10000.    
    13 'norm      '    14.770       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.1552       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.7850       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96705       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0287       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5792.073     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2523 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.411        .16706E-08** at limit **
   2  Prefactor     2.1490        6.3114       -.68546E-07   -.21065E-04
   3  norm          45.692        8.7442        .13860E-07   -.73242E-03
   4  Prefactor     .10000E-03    19.751       -.25877E-08** at limit **
   5  norm          .10000E-03    1.5322       -.27892E-09** at limit **
   6  Prefactor     7.6129        17.817       -.40897E-07    .29342E-03
   7  norm          2.3641        4.5844       -.41651E-07    .59822E-03
   8  norm          .76938        3.5943       -.12232E-06   -.18486E-04
   9  norm          .10000E-03    6.2268        .22324E-07** at limit **
  10  norm          10.974        13.843       -.49960E-08   -.16820E-04
  11  Prefactor     .10000E-03    1.5233        .13177E-08** at limit **
  12  Prefactor     16.454        13.986        .20645E-07    .68084E-04
  13  norm          14.770        7.8922        .72406E-07   -.18473E-03
  14  Prefactor     .10000E-03    56.576        .46189E-07** at limit **
  15  norm          6.1563        4.4057       -.28738E-06   -.30044E-03
  16  Prefactor     .10000E-03    5.0598        .31115E-08** at limit **
  17  Prefactor     .10000E-03    10.995        .96399E-09** at limit **
  18  Prefactor     .10000E-03    57.435       -.43617E-07** at limit **
  19  Prefactor     .10000E-03    3.3857       -.51618E-08** at limit **
  20  Prefactor     .10000E-03    7.9835        .28584E-09** at limit **
  21  Prefactor     3.7859        4.2909       -.36873E-07    .85342E-03
  22  Normalizat    .96683        .16965        .54031E-07    .89025E-04
  23  Prefactor     1.0289        .18184        .14758E-07    .84874E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.14902
  norm       = 45.6919
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.61287
  norm       = 2.36409
  norm       = 0.769381
  norm       = 0.0001
  norm       = 10.9735
  Prefactor  = 0.0001
  Prefactor  = 16.4536
  norm       = 14.7704
  Prefactor  = 0.000100002
  norm       = 6.15627
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.78595
  Normalizat = 0.966829
  Prefactor  = 1.02889
 **********
 **   18 **HESSE 
 **********

 FCN=   5792.073     FROM HESSE     STATUS=OK           368 CALLS     2891 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    39.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.1490        6.4111        .28110E-03   -1.5415    
   3  norm          45.692        8.6937        .59312E-04   -1.4355    
   4  Prefactor     .10000E-03    19.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.5450        .91962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.6129        17.652        .14519E-03   -1.5156    
   7  norm          2.3641        4.5401        .20500E-03   -1.5400    
   8  norm          .76938        3.8779        .26977E-03   -1.5533    
   9  norm          .10000E-03    6.3211        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.974        13.842        .12094E-03   -1.5045    
  11  Prefactor     .10000E-03    1.5346        .91251E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.454        13.756        .98705E-04   -1.4896    
  13  norm          14.770        8.5358        .10422E-03   -1.4939    
  14  Prefactor     .10000E-03    56.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.1563        9.8630        .80909E-03   -1.5212    
  16  Prefactor     .10000E-03    5.0730        .16719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    57.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.5264        .27317E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.0750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.7859        4.3007        .16204E-03   -1.5319    
  22  Normalizat    .96683        .19688        .23675E-03   -.94150    
  23  Prefactor     1.0289        .20995        .25380E-03   -.91772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06213e-09
Minuit parameter uncertainties:
  1  3.67073e-05
  2  6.41311
  3  8.69396
  4  4.16689e-05
  5  2.55581e-07
  6  17.6637
  7  4.54076
  8  3.45472
  9  1.10904e-06
  10  13.8456
  11  8.83834e-07
  12  13.759
  13  8.53646
  14  0.000670618
  15  9.86564
  16  1.41136e-05
  17  6.70781e-06
  18  0.000582608
  19  8.8331e-06
  20  1.08062e-05
  21  4.30103
  22  0.19703
  23  0.210118
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  6.708e-06  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.029e+00  2.101e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.668e-01  1.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 4.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/771820/likelihoodResults_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.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) = 5792.07375507
delta logL = -0.000430031478572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5792.0733252
delta logL = -1.59056071425e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3141       1.0000          .0000       10.000    
     3 'Normalizat'    .96677       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0290       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5792.073     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      201 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1912.7        .90712E-02** at limit **
   2  Index         2.3132        6.1419        .50000        .67707E-06
   3  Normalizat    .96683        .83341E-01    .45749E-01    .11171E-04
   4  Prefactor     1.0289        .91842E-01    .41341E-01    .86793E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.31322
  Normalizat = 0.966829
  Prefactor  = 1.02889
 **********
 **   18 **HESSE 
 **********

 FCN=   5792.073     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .72E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3132        6.1562        .50000       -.56730    
   3  Normalizat    .96683        .18698        .23675E-03   -.94150    
   4  Prefactor     1.0289        .20715        .25380E-03   -.91772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21833e-13
Minuit parameter uncertainties:
  1  8.17123e-06
  2  4.31089
  3  0.187102
  4  0.207309
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/771820': 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) = 5792.07332504
delta logL = 3.19232640322e-10

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  8.171e-06  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.313e+00  4.311e+00  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.029e+00  2.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.668e-01  1.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.323 27.422

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/771820/cmap_HighResolution_483235201_483494401_4FGL_J1333.2+2725_daily_bin941.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.81e-08', time_completed='2021-09-08 03:26:51.948435', job_id='771820', GAL2='1.03', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1631096811.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.19e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='941' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:26:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 771820: <4FGL_J1333.2+2725_daily_bin941> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin941> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 03:15:25 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 03:16:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 03:16:01 2021
Terminated at Wed Sep  8 03:26:52 2021
Results reported at Wed Sep  8 03:26:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin941 203.323 27.4221 483235201 483494401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1333.2+2725 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   630.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            687 sec.

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

