aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 120 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7681
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1780
RA = 203.323, Dec = 27.4221
tmin = 700704001, tmax = 700963201
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='65215', job_status='RUN', time_executed='2023-03-20 01:02:33.944384', time_epoch_executed='1679299353.94' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/65215

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/65215/ft1_4FGL_J1333.2+2725_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/65215/ft2_4FGL_J1333.2+2725_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/65215/ft1_4FGL_J1333.2+2725_daily_bin1780.fits outfile=/scratch/kocevski/65215/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1780.fits ra=203.323 dec=27.4221 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.08
user 3.88
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/65215/ft2_4FGL_J1333.2+2725_daily_bin1780.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/65215/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/65215/ft1_filtered_4FGL_J1333.2+2725_daily_bin1780.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.17

Number of photons that the gtmktime cut: 544

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/65215/ft1_filtered_4FGL_J1333.2+2725_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/65215/ft2_4FGL_J1333.2+2725_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/65215/ltcube_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.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/65215/ft2_4FGL_J1333.2+2725_daily_bin1780.fits
.....................!
real 11.99
user 11.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/65215/ft1_filtered_4FGL_J1333.2+2725_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/65215/ft2_4FGL_J1333.2+2725_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/65215/ltcube_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.fits outfile=/scratch/kocevski/65215/expmap_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.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/65215/ltcube_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.fits
.....................!
real 191.42
user 185.49
sys 5.62

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/65215/ft1_filtered_4FGL_J1333.2+2725_daily_bin1780.fits scfile=/scratch/kocevski/65215/ft2_4FGL_J1333.2+2725_daily_bin1780.fits outfile=/scratch/kocevski/65215/cmap_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/65215/ft1_filtered_4FGL_J1333.2+2725_daily_bin1780.fits scfile=/scratch/kocevski/65215/ft2_4FGL_J1333.2+2725_daily_bin1780.fits outfile=/scratch/kocevski/65215/cmap_HighResolution_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.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.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/65215/ft1_filtered_4FGL_J1333.2+2725_daily_bin1780.fits', '/scratch/kocevski/65215/ft2_4FGL_J1333.2+2725_daily_bin1780.fits', expMap='/scratch/kocevski/65215/expmap_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.fits', expCube='/scratch/kocevski/65215/ltcube_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/65215/Model_4FGL_J1333.2+2725_daily_bin1780.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  0.000e+00  1.000e+06 ( 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/65215/ft1_filtered_4FGL_J1333.2+2725_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/65215/ft2_4FGL_J1333.2+2725_daily_bin1780.fits
Exposure map: /scratch/kocevski/65215/expmap_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.fits
Exposure cube: /scratch/kocevski/65215/ltcube_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/65215/Model_4FGL_J1333.2+2725_daily_bin1780.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) = 6228.8039744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45172E-04   1.0000          .0000       .10000E+07
     2 'norm      '    10.535       1.0000          .0000       .10000E+07
     3 'Prefactor '    .35128E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .63211E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.127       1.0000          .0000       .10000E+07
     6 'norm      '    .61773E-06   1.0000          .0000       .10000E+07
     7 'norm      '    10.496       1.0000          .0000       .10000E+07
     8 'norm      '    15.970       1.0000          .0000       .10000E+07
     9 'norm      '    .19984E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12211E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14046E-03   1.0000          .0000       .10000E+07
    12 'norm      '    35.558       1.0000          .0000       .10000E+07
    13 'Prefactor '    .72481E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .16941       1.0000          .0000       .10000E+07
    15 'Prefactor '    .44873E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    19.642       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.0724       1.0000          .0000       .10000E+07
    18 'Prefactor '    16.151       1.0000          .0000       .10000E+07
    19 'Prefactor '    11.639       1.0000          .0000       .10000E+07
    20 'Normalizat'    .91432       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97766       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6228.712     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1605 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7284        .28339E-07** at limit **
   2  norm          10.589        4.7295        .15521E-07    .54927E-03
   3  Prefactor     .78826E-08    .94871       -.18100E-07** at limit **
   4  norm           .0000        1.1372       -.16540E-07** at limit **
   5  Prefactor     14.465        6.8002        .56111E-08    .34428E-01
   6  norm          .33307E-09    5.4117        .18872E-07** at limit **
   7  norm          10.448        4.0391       -.31484E-08    .73620E-03
   8  norm          16.053        2.4844       -.20819E-08   -.22770E-02
   9  norm          .16653E-08    6.9136       -.33370E-07** at limit **
  10  Prefactor      .0000        1.6784       -.51610E-07** at limit **
  11  Prefactor     .10697E-06    11.035       -.16209E-06** at limit **
  12  norm          35.341        6.7570        .28295E-08    .22851E-01
  13  Prefactor     .34872E-06    21.492        .75688E-07** at limit **
  14  norm          .24194        15.798        .28165E-07** at limit **
  15  Prefactor     .49072E-07    9.0171       -.12423E-06** at limit **
  16  Prefactor     21.115        9.7358       -.16001E-07   -.66623E-01
  17  Prefactor     6.0834        4.5447       -.21645E-07    .51937E-03
  18  Prefactor     16.210        1.5008       -.60865E-08    .70840E-02
  19  Prefactor     11.633        5.8114        .84114E-08    .11697E-02
  20  Normalizat    .91277        .21018        .33942E-05   -.18990E-04
  21  Prefactor     .97769        .21446       -.41282E-05   -.96937E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 10.5895
  Prefactor  = 7.88258e-09
  norm       = 0
  Prefactor  = 14.4652
  norm       = 3.33067e-10
  norm       = 10.4482
  norm       = 16.0535
  norm       = 1.66533e-09
  Prefactor  = 0
  Prefactor  = 1.0697e-07
  norm       = 35.3408
  Prefactor  = 3.48721e-07
  norm       = 0.241937
  Prefactor  = 4.90719e-08
  Prefactor  = 21.1155
  Prefactor  = 6.0834
  Prefactor  = 16.2101
  Prefactor  = 11.633
  Normalizat = 0.91277
  Prefactor  = 0.977695
 **********
 **   18 **HESSE 
 **********

 FCN=   6228.712     FROM HESSE     STATUS=OK           367 CALLS     1972 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.589        4.8891        .30845E-03   -1.5643    
   3  Prefactor     .78826E-08    19.414        .11674E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.1407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.465        18.205        .26623E-03   -1.5632    
   6  norm          .33307E-09    5.3898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          10.448        8.4771        .30902E-03   -1.5643    
   8  norm          16.053        15.116        .25036E-03   -1.5628    
   9  norm          .16653E-08    6.9351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.6724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10697E-06    12.217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          35.341        11.479        .16772E-03   -1.5589    
  13  Prefactor     .34872E-06    24.698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .24194        7.9158        .65240E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .49072E-07    9.5024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.115        24.835        .22571E-03   -1.5616    
  17  Prefactor     6.0834        4.5373        .40720E-03   -1.5659    
  18  Prefactor     16.210        15.822        .24895E-03   -1.5627    
  19  Prefactor     11.633        5.8143        .29339E-03   -1.5640    
  20  Normalizat    .91277        .18490        .45084E-01   -.96013    
  21  Prefactor     .97769        .18837        .45987E-01   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84862e-07
Minuit parameter uncertainties:
  1  5.62279e-06
  2  4.88911
  3  0.000783125
  4  2.93289e-06
  5  18.205
  6  8.42968e-05
  7  8.47708
  8  15.1161
  9  0.000213436
  10  1.02067e-05
  11  0.00228655
  12  11.4786
  13  0.00586971
  14  2.76776
  15  0.00136579
  16  24.8348
  17  4.53735
  18  15.8218
  19  5.81429
  20  0.185032
  21  0.188498
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  2.112e+01  2.483e+01  0.000e+00  1.000e+06 ( 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:  9.777e-01  1.885e-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.128e-01  1.850e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.99
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/65215/likelihoodResults_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.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) = 6228.54914489
delta logL = 0.162597191025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6228.54351571
delta logL = 0.168226370326

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.939       1.0000          .0000       .10000E+07
     2 'Index     '    2.7787       1.0000          .0000       10.000    
     3 'Normalizat'    .89471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99009       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6228.544     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      287 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.937        25.386        .10355E-04    .24231E-02
   2  Index         2.7786        .97359        .79292E-02    .84220E-04
   3  Normalizat    .89475        .20386        .25998E-03   -.34718E-03
   4  Prefactor     .99010        .21410        .26406E-03   -.34211E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.9375
  Index      = 2.77862
  Normalizat = 0.894748
  Prefactor  = 0.990104
 **********
 **   18 **HESSE 
 **********

 FCN=   6228.544     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.937        22.358        .41419E-06   -1.5631    
   2  Index         2.7786        .85795        .31717E-03   -.46037    
   3  Normalizat    .89475        .20393        .51996E-04   -.96645    
   4  Prefactor     .99010        .21402        .52812E-04   -.93060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14253e-10
Minuit parameter uncertainties:
  1  22.3577
  2  0.863286
  3  0.204104
  4  0.214203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/65215': 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) = 6228.54351558
delta logL = 0.168226503098

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.494e+01  2.236e+01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.779e+00  8.633e-01  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:  9.901e-01  2.142e-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:  8.947e-01  2.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.34
Ra Dec: 203.323 27.422
Photon Index (Free Index): 2.78 +/- 0.86
Photon Flux (Free Index): 4.53e-08 +/- 4.88e-08
Energy Flux (Free Index): 1.03e-05 +/- 1.07e-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/65215/cmap_HighResolution_700704001_700963201_4FGL_J1333.2+2725_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.39e-03', comment='SUCCESS', energy_flux2='1.03e-05', dlogl='1.68e-01', photon_flux2='4.53e-08', job_status='DONE', time_completed='2023-03-20 01:11:24.790925', photon_index_error2='0.86', photon_index2='2.78', ts='0.99', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.07e-05', EG='0.91', time_epoch_completed='1679299884.79', return_code='0', job_id='65215', GAL2='0.99', EG2='0.89', return_code2='0', photon_flux_error2='4.88e-08', ts2='1.34', photon_index='2.32' WHERE bin_id='1780' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:11:24 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 65215: <4FGL_J1333.2+2725_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1780> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Mar 20 01:00:24 2023
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:00:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:00:25 2023
Terminated at Mon Mar 20 01:11:25 2023
Results reported at Mon Mar 20 01:11:25 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1780 203.323 27.4221 700704001 700963201 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 :                                   533.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            661 sec.

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

