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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1709
RA = 183.001, Dec = -23.4494
tmin = 682300801, tmax = 682560001
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='117481', job_status='RUN', time_executed='2022-09-16 16:43:14.937457', time_epoch_executed='1663371794.94' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/117481

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/117481/ft1_4FGL_J1212.0-2326_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/117481/ft2_4FGL_J1212.0-2326_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/117481/ft1_4FGL_J1212.0-2326_daily_bin1709.fits outfile=/scratch/kocevski/117481/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1709.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=682300801.0 tmax=682560001.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.78
user 3.51
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/117481/ft2_4FGL_J1212.0-2326_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/117481/ft2_4FGL_J1212.0-2326_daily_bin1709.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/117481/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/117481/ft1_filtered_4FGL_J1212.0-2326_daily_bin1709.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 1104

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/117481/ft1_filtered_4FGL_J1212.0-2326_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/117481/ft2_4FGL_J1212.0-2326_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/117481/ltcube_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.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/117481/ft2_4FGL_J1212.0-2326_daily_bin1709.fits
.....................!
real 14.17
user 13.62
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/117481/ft1_filtered_4FGL_J1212.0-2326_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/117481/ft2_4FGL_J1212.0-2326_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/117481/ltcube_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.fits outfile=/scratch/kocevski/117481/expmap_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.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/117481/ltcube_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.fits
.....................!
real 193.72
user 185.91
sys 5.80

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

Setting source of interest to:
4FGL J1212.0-2326 @ 183.001 -23.4494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/117481/ft1_filtered_4FGL_J1212.0-2326_daily_bin1709.fits scfile=/scratch/kocevski/117481/ft2_4FGL_J1212.0-2326_daily_bin1709.fits outfile=/scratch/kocevski/117481/cmap_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.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=183.001 yref=-23.4494 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/117481/ft1_filtered_4FGL_J1212.0-2326_daily_bin1709.fits scfile=/scratch/kocevski/117481/ft2_4FGL_J1212.0-2326_daily_bin1709.fits outfile=/scratch/kocevski/117481/cmap_HighResolution_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.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=183.001 yref=-23.4494 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.61
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/117481/ft1_filtered_4FGL_J1212.0-2326_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/117481/ft2_4FGL_J1212.0-2326_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/117481/Model_4FGL_J1212.0-2326_daily_bin1709.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/117481/ft1_filtered_4FGL_J1212.0-2326_daily_bin1709.fits.....................!
real 89.81
user 87.47
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/117481/ft1_filtered_4FGL_J1212.0-2326_daily_bin1709.fits', '/scratch/kocevski/117481/ft2_4FGL_J1212.0-2326_daily_bin1709.fits', expMap='/scratch/kocevski/117481/expmap_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.fits', expCube='/scratch/kocevski/117481/ltcube_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/117481/Model_4FGL_J1212.0-2326_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1212.0-2326'

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/117481/ft1_filtered_4FGL_J1212.0-2326_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/117481/ft2_4FGL_J1212.0-2326_daily_bin1709.fits
Exposure map: /scratch/kocevski/117481/expmap_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.fits
Exposure cube: /scratch/kocevski/117481/ltcube_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/117481/Model_4FGL_J1212.0-2326_daily_bin1709.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) = 11628.9718638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .77576E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .45519E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12950E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .55615E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .17121E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.9524       1.0000          .0000       .10000E+07
     7 'norm      '    .51882E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.3984       1.0000          .0000       .10000E+07
     9 'Prefactor '    .78916E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .25276       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5422       1.0000          .0000       .10000E+07
    12 'Prefactor '    .60711E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.4709       1.0000          .0000       .10000E+07
    14 'Prefactor '    7.3601       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.183       1.0000          .0000       .10000E+07
    16 'norm      '    .43265       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.284       1.0000          .0000       .10000E+07
    18 'norm      '    .14100E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .14471E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .92625       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11628.91     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1384 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80616E-05    70.722        .58345E-05** at limit **
   2  norm           .0000        1.4006       -.30217E-06** at limit **
   3  Prefactor     .85987E-07    169.06        .93882E-05** at limit **
   4  Prefactor      .0000        3.4040       -.84178E-07** at limit **
   5  norm          .16653E-09    5.5804       -.37591E-07** at limit **
   6  Prefactor     8.8886        11.144        .10087E-05   -.43640E-02
   7  norm          .11824E-07    9.4487       -.59989E-06** at limit **
   8  Prefactor     4.3923        4.2910        .70679E-07   -.29644E-03
   9  Prefactor     .16664E-06    31.513       -.24555E-05** at limit **
  10  Prefactor     .15144E-04    2.4520       -.96584E-07** at limit **
  11  Prefactor     7.5550        1.9322        .24995E-06    .31918E-01
  12  Prefactor     .36138E-07    10.051       -.42629E-06** at limit **
  13  Prefactor     4.4705        3.1541       -.20344E-06    .34440E-02
  14  Prefactor     7.3594        1.9497        .26476E-06   -.66467E-03
  15  Prefactor     12.235        9.5346       -.13624E-06   -.76830E-03
  16  norm          .43287        .47329        .69529E-07   -.34181E-02
  17  Prefactor     15.648        10.374        .91403E-06    .96085E-01
  18  norm          .55511E-10    3.1428       -.43198E-06** at limit **
  19  Prefactor     .27756E-09    5.1209       -.34495E-06** at limit **
  20  Normalizat    .92662        .20247        .37142E-05    .63335E-04
  21  Prefactor     1.1196        .10459       -.62737E-05    .35402E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.06161e-06
  norm       = 0
  Prefactor  = 8.59868e-08
  Prefactor  = 0
  norm       = 1.66533e-10
  Prefactor  = 8.8886
  norm       = 1.18239e-08
  Prefactor  = 4.39231
  Prefactor  = 1.66644e-07
  Prefactor  = 1.51445e-05
  Prefactor  = 7.55495
  Prefactor  = 3.61378e-08
  Prefactor  = 4.4705
  Prefactor  = 7.3594
  Prefactor  = 12.2348
  norm       = 0.432874
  Prefactor  = 15.6485
  norm       = 5.55112e-11
  Prefactor  = 2.77556e-10
  Normalizat = 0.92662
  Prefactor  = 1.11957
 **********
 **   18 **HESSE 
 **********

 FCN=   11628.91     FROM HESSE     STATUS=OK           377 CALLS     1761 TOTAL
                     EDM=   .97E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80616E-05    4.9693        .75706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .41436        .24176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .85987E-07    169.41        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.3877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .16653E-09    5.6046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.8886        11.325        .33474E-03   -1.5648    
   7  norm          .11824E-07    9.2335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.3923        4.3205        .47997E-03   -1.5666    
   9  Prefactor     .16664E-06    31.829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .15144E-04    10.551        .10903E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5550        30.474        .36493E-03   -1.5653    
  12  Prefactor     .36138E-07    10.313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4705        3.1602        .47596E-03   -1.5666    
  14  Prefactor     7.3594        1.9513        .36960E-02   -1.5165    
  15  Prefactor     12.235        9.5375        .28674E-03   -1.5638    
  16  norm          .43287        .55655        .17414E-02   -1.5695    
  17  Prefactor     15.648        33.902        .24793E-03   -1.5629    
  18  norm          .55511E-10    3.1299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .27756E-09    5.0301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92662        .17637        .79643E-01   -.95531    
  21  Prefactor     1.1196        .90123E-01    .36891E-01   -.88844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.657e-07
Minuit parameter uncertainties:
  1  0.0126587
  2  2.78945e-07
  3  0.00763426
  4  5.76526e-06
  5  5.73778e-05
  6  11.3254
  7  0.000661232
  8  4.32047
  9  0.00460642
  10  0.0252814
  11  30.3467
  12  0.00122115
  13  3.16025
  14  1.95131
  15  9.53747
  16  0.556553
  17  33.9028
  18  2.02057e-05
  19  7.48994e-05
  20  0.17648
  21  0.0901357
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.514e-05  2.528e-02  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.120e+00  9.014e-02  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  9.266e-01  1.765e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 183.001 -23.449
Photon Flux Upper Limit: 4.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/117481/likelihoodResults_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.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) = 11628.9204335
delta logL = -0.0100259690389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11626.4425197
delta logL = 2.4678878955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44745E-03   1.0000          .0000       .10000E+07
     2 'Index     '    5.5490       1.0000          .0000       10.000    
     3 'Normalizat'    .79182       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1604       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11626.44     FROM MIGRAD    STATUS=CONVERGED    165 CALLS      451 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44163E-03    .24504E-03    .27590E-04** at limit **
   2  Index         5.5529        .12386        .67691E-01   -.61947E-03
   3  Normalizat    .79168        .17949        .85354E-01    .80770E-04
   4  Prefactor     1.1605        .92508E-01    .35642E-01    .16269E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000441627
  Index      = 5.55288
  Normalizat = 0.791677
  Prefactor  = 1.16053
 **********
 **   18 **HESSE 
 **********

 FCN=   11626.44     FROM HESSE     STATUS=OK            35 CALLS      486 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44163E-03    .53515E-03    .11710E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.5529        .33758        .25550E-02   -3.2524    
   3  Normalizat    .79168        .20479        .37797E-03   -1.0038    
   4  Prefactor     1.1605        .10607        .16844E-03   -.87555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76726e-08
Minuit parameter uncertainties:
  1  0.000535145
  2  0.337842
  3  0.204985
  4  0.106091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/117481': 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) = 11626.4425168
delta logL = 2.46789079203

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  4.416e-04  5.351e-04  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  5.553e+00  3.378e-01  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.161e+00  1.061e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  7.917e-01  2.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.33
Ra Dec: 183.001 -23.449
Photon Index (Free Index): 5.55 +/- 0.34
Photon Flux (Free Index): 1.04e-07 +/- 5.74e-08
Energy Flux (Free Index): 1.33e-05 +/- 7.30e-06

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/117481/cmap_HighResolution_682300801_682560001_4FGL_J1212.0-2326_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-03', comment='SUCCESS', energy_flux2='1.33e-05', dlogl='2.47e+00', photon_flux2='1.04e-07', job_status='DONE', time_completed='2022-09-16 16:56:48.278760', photon_index_error2='0.34', photon_index2='5.55', ts='-0.00', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='4.82e-08', energy_flux_error2='7.30e-06', EG='0.93', time_epoch_completed='1663372608.28', return_code='0', job_id='117481', GAL2='1.16', EG2='0.79', return_code2='0', photon_flux_error2='5.74e-08', ts2='5.33', photon_index='1.90' WHERE bin_id='1709' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:56:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 117481: <4FGL_J1212.0-2326_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1709> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 16:40:25 2022
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:40:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:40:53 2022
Terminated at Fri Sep 16 16:56:49 2022
Results reported at Fri Sep 16 16:56:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1709 183.001 -23.4494 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1212.0-2326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   808.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            984 sec.

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

