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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1776
RA = 183.001, Dec = -23.4494
tmin = 699667201, tmax = 699926401
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='832517', job_status='RUN', time_executed='2023-03-08 00:35:58.619735', time_epoch_executed='1678264558.62' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832517

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832517/ft1_4FGL_J1212.0-2326_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832517/ft2_4FGL_J1212.0-2326_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832517/ft1_4FGL_J1212.0-2326_daily_bin1776.fits outfile=/scratch/kocevski/832517/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1776.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=699667201.0 tmax=699926401.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.87
user 3.64
sys 0.22

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

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

Number of photons that the gtmktime cut: 781

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832517/ft1_filtered_4FGL_J1212.0-2326_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/832517/ft2_4FGL_J1212.0-2326_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/832517/ltcube_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.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/832517/ft2_4FGL_J1212.0-2326_daily_bin1776.fits
.....................!
real 11.94
user 11.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832517/ft1_filtered_4FGL_J1212.0-2326_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832517/ft2_4FGL_J1212.0-2326_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/832517/ltcube_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.fits outfile=/scratch/kocevski/832517/expmap_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.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/832517/ltcube_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.fits
.....................!
real 189.69
user 184.94
sys 4.44

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/832517/ft1_filtered_4FGL_J1212.0-2326_daily_bin1776.fits scfile=/scratch/kocevski/832517/ft2_4FGL_J1212.0-2326_daily_bin1776.fits outfile=/scratch/kocevski/832517/cmap_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/832517/ft1_filtered_4FGL_J1212.0-2326_daily_bin1776.fits scfile=/scratch/kocevski/832517/ft2_4FGL_J1212.0-2326_daily_bin1776.fits outfile=/scratch/kocevski/832517/cmap_HighResolution_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/832517/ft1_filtered_4FGL_J1212.0-2326_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832517/ft2_4FGL_J1212.0-2326_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832517/Model_4FGL_J1212.0-2326_daily_bin1776.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/832517/ft1_filtered_4FGL_J1212.0-2326_daily_bin1776.fits.....................!
real 67.53
user 66.26
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/832517/ft1_filtered_4FGL_J1212.0-2326_daily_bin1776.fits', '/scratch/kocevski/832517/ft2_4FGL_J1212.0-2326_daily_bin1776.fits', expMap='/scratch/kocevski/832517/expmap_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.fits', expCube='/scratch/kocevski/832517/ltcube_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/832517/Model_4FGL_J1212.0-2326_daily_bin1776.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/832517/ft1_filtered_4FGL_J1212.0-2326_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/832517/ft2_4FGL_J1212.0-2326_daily_bin1776.fits
Exposure map: /scratch/kocevski/832517/expmap_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.fits
Exposure cube: /scratch/kocevski/832517/ltcube_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/832517/Model_4FGL_J1212.0-2326_daily_bin1776.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) = 8356.79974836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.157       1.0000          .0000       .10000E+07
     2 'norm      '    .16724       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39728E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1775       1.0000          .0000       .10000E+07
     5 'norm      '    26.532       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23337E-06   1.0000          .0000       .10000E+07
     7 'norm      '    11.494       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15739E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    62.165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .64687E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .97576E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    23.046       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16278E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.6104       1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.454       1.0000          .0000       .10000E+07
    16 'norm      '    1.0853       1.0000          .0000       .10000E+07
    17 'Prefactor '    81.286       1.0000          .0000       .10000E+07
    18 'norm      '    12.331       1.0000          .0000       .10000E+07
    19 'Prefactor '    .84412E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    .86517       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0986       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=   8356.720     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1622 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.174        1.2777       -.43292E-07   -.95856E-02
   2  norm          .16796        .63591       -.12779E-06** at limit **
   3  Prefactor     .99698E-07    13.275        .36892E-06** at limit **
   4  Prefactor     7.2677        5.1608        .13757E-06   -.14679E-03
   5  norm          26.799        1.7260       -.80850E-09   -.11991E-01
   6  Prefactor     .55511E-09    5.6136       -.66173E-06** at limit **
   7  norm          11.533        4.8519       -.25558E-06   -.92979E-03
   8  Prefactor     .26834E-06    8.6188       -.20046E-05** at limit **
   9  Prefactor     61.984        4.8649        .10526E-06   -.25231    
  10  Prefactor     .97700E-07    7.2129       -.52309E-06** at limit **
  11  Prefactor     .15093E-06    22.644        .93109E-06** at limit **
  12  Prefactor     23.088        1.0901       -.20766E-07    .12968E-01
  13  Prefactor     .22204E-09    2.9871       -.66103E-06** at limit **
  14  Prefactor     7.6117        2.4078       -.88508E-07    .12394E-03
  15  Prefactor     24.462        1.4716       -.44172E-07   -.11594E-01
  16  norm          1.0859        .83613        .11747E-08    .10606E-05
  17  Prefactor     81.336        3.3666        .74354E-07   -.24332    
  18  norm          12.291        6.3194        .93359E-07    .34343E-02
  19  Prefactor     .16653E-09    2.6495        .51484E-06** at limit **
  20  Normalizat    .86494        .26582       -.27835E-04   -.47655E-04
  21  Prefactor     1.0984        .13594        .60775E-05   -.55996E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1745
  norm       = 0.167965
  Prefactor  = 9.9698e-08
  Prefactor  = 7.26771
  norm       = 26.7995
  Prefactor  = 5.55112e-10
  norm       = 11.5333
  Prefactor  = 2.68341e-07
  Prefactor  = 61.9845
  Prefactor  = 9.76996e-08
  Prefactor  = 1.50935e-07
  Prefactor  = 23.0879
  Prefactor  = 2.22045e-10
  Prefactor  = 7.61174
  Prefactor  = 24.4618
  norm       = 1.08588
  Prefactor  = 81.3359
  norm       = 12.2909
  Prefactor  = 1.66533e-10
  Normalizat = 0.864941
  Prefactor  = 1.09838
 **********
 **   18 **HESSE 
 **********

 FCN=   8356.720     FROM HESSE     STATUS=OK           359 CALLS     1981 TOTAL
                     EDM=   .50E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.174        12.632        .26594E-03   -1.5633    
   2  norm          .16796        .64769        .12390E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .99698E-07    13.332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.2677        5.1730        .37418E-03   -1.5654    
   5  norm          26.799        23.650        .19418E-03   -1.5604    
   6  Prefactor     .55511E-09    5.6165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.533        4.8562        .29524E-03   -1.5640    
   8  Prefactor     .26834E-06    8.7234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     61.984        32.885        .12684E-03   -1.5551    
  10  Prefactor     .97700E-07    7.2677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .15093E-06    22.785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.088        19.064        .20836E-03   -1.5612    
  13  Prefactor     .22204E-09    2.9798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.6117        2.4067        .36342E-02   -1.5156    
  15  Prefactor     24.462        13.082        .20227E-03   -1.5609    
  16  norm          1.0859        .85455        .11520E-02   -1.5687    
  17  Prefactor     81.336        71.942        .11092E-03   -1.5528    
  18  norm          12.291        6.8435        .28502E-03   -1.5638    
  19  Prefactor     .16653E-09    2.6459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .86494        .23555        .89930E-01   -.97703    
  21  Prefactor     1.0984        .11809        .37642E-01   -.89518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.01355e-06
Minuit parameter uncertainties:
  1  12.6325
  2  0.647694
  3  0.00230565
  4  5.17303
  5  23.6498
  6  0.000108956
  7  4.85618
  8  0.00305986
  9  32.8848
  10  0.00168552
  11  0.00370928
  12  19.0637
  13  5.11126e-05
  14  2.40677
  15  13.0816
  16  0.854552
  17  71.9432
  18  6.84346
  19  4.00747e-05
  20  0.235833
  21  0.118114
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  9.770e-08  1.686e-03  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.098e+00  1.181e-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:  8.649e-01  2.358e-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.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/832517/likelihoodResults_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.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) = 8356.78540955
delta logL = -0.0658171628711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8356.71959259
delta logL = -2.01747752726e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34872E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .49409       1.0000          .0000       10.000    
     3 'Normalizat'    .86487       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0984       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=   8356.720     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      239 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36082E-08    21.708        .42118E-03** at limit **
   2  Index         2.5651        6.2717        .39589        .40203E-08
   3  Normalizat    .86494        .14883E-01    .89930E-01   -.13151E-03
   4  Prefactor     1.0984        .76385E-02    .37649E-01   -.61408E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.60822e-09
  Index      = 2.56506
  Normalizat = 0.864944
  Prefactor  = 1.09838
 **********
 **   18 **HESSE 
 **********

 FCN=   8356.720     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      270 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36082E-08    362.26        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5651        8.5725        .50000       -.50864    
   3  Normalizat    .86494        .71309E-01    .39830E-03   -.97703    
   4  Prefactor     1.0984        .36694E-01    .18256E-03   -.89519    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.36464e-07
Minuit parameter uncertainties:
  1  0.00228119
  2  47.2913
  3  0.0713171
  4  0.0366946
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832517': 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) = 8356.71959238
delta logL = 6.02994987275e-09

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  3.608e-09  2.281e-03  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  2.565e+00  4.729e+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.098e+00  3.669e-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:  8.649e-01  7.132e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 183.001 -23.449

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/832517/cmap_HighResolution_699667201_699926401_4FGL_J1212.0-2326_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.94e-08', time_completed='2023-03-08 00:46:52.458915', job_id='832517', GAL2='1.10', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1678265212.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='6.03e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1776' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:46:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 832517: <4FGL_J1212.0-2326_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1776> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Mar  8 00:35:25 2023
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:35:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:35:26 2023
Terminated at Wed Mar  8 00:46:53 2023
Results reported at Wed Mar  8 00:46:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1776 183.001 -23.4494 699667201 699926401 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 :                                   655.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            688 sec.

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

