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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin1716
RA = 333.226, Dec = -25.4335
tmin = 684115201, tmax = 684374401
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='242150', job_status='RUN', time_executed='2022-09-16 23:47:37.430336', time_epoch_executed='1663397257.43' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/242150

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/242150/ft1_4FGL_J2212.9-2526_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/242150/ft2_4FGL_J2212.9-2526_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/242150/ft1_4FGL_J2212.9-2526_daily_bin1716.fits outfile=/scratch/kocevski/242150/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1716.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=684115201.0 tmax=684374401.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.09
user 3.84
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/242150/ft2_4FGL_J2212.9-2526_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/242150/ft2_4FGL_J2212.9-2526_daily_bin1716.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/242150/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/242150/ft1_filtered_4FGL_J2212.9-2526_daily_bin1716.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.32
sys 0.17

Number of photons that the gtmktime cut: 551

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/242150/ft1_filtered_4FGL_J2212.9-2526_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/242150/ft2_4FGL_J2212.9-2526_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/242150/ltcube_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.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/242150/ft2_4FGL_J2212.9-2526_daily_bin1716.fits
.....................!
real 13.61
user 13.19
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/242150/ft1_filtered_4FGL_J2212.9-2526_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/242150/ft2_4FGL_J2212.9-2526_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/242150/ltcube_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.fits outfile=/scratch/kocevski/242150/expmap_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.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/242150/ltcube_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.fits
.....................!
real 191.69
user 185.78
sys 5.43

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

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/242150/ft1_filtered_4FGL_J2212.9-2526_daily_bin1716.fits scfile=/scratch/kocevski/242150/ft2_4FGL_J2212.9-2526_daily_bin1716.fits outfile=/scratch/kocevski/242150/cmap_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.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=333.226 yref=-25.4335 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/242150/ft1_filtered_4FGL_J2212.9-2526_daily_bin1716.fits scfile=/scratch/kocevski/242150/ft2_4FGL_J2212.9-2526_daily_bin1716.fits outfile=/scratch/kocevski/242150/cmap_HighResolution_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.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=333.226 yref=-25.4335 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/242150/ft1_filtered_4FGL_J2212.9-2526_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/242150/ft2_4FGL_J2212.9-2526_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/242150/Model_4FGL_J2212.9-2526_daily_bin1716.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/242150/ft1_filtered_4FGL_J2212.9-2526_daily_bin1716.fits.....................!
real 50.85
user 49.37
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/242150/ft1_filtered_4FGL_J2212.9-2526_daily_bin1716.fits', '/scratch/kocevski/242150/ft2_4FGL_J2212.9-2526_daily_bin1716.fits', expMap='/scratch/kocevski/242150/expmap_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.fits', expCube='/scratch/kocevski/242150/ltcube_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/242150/Model_4FGL_J2212.9-2526_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/242150/ft1_filtered_4FGL_J2212.9-2526_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/242150/ft2_4FGL_J2212.9-2526_daily_bin1716.fits
Exposure map: /scratch/kocevski/242150/expmap_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.fits
Exposure cube: /scratch/kocevski/242150/ltcube_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/242150/Model_4FGL_J2212.9-2526_daily_bin1716.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) = 5959.40764855

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62417E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    19.094       1.0000          .0000       .10000E+07
     3 'Prefactor '    .71553E-03   1.0000          .0000       .10000E+07
     4 'norm      '    2.8998       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.095       1.0000          .0000       .10000E+07
     6 'Prefactor '    .40822E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .15062E-02   1.0000          .0000       .10000E+07
     8 'norm      '    2.3549       1.0000          .0000       .10000E+07
     9 'Prefactor '    .80139E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .52007       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.8703       1.0000          .0000       .10000E+07
    12 'Prefactor '    .94502E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .15318E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .51003E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .58119E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .33568E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .98861       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18811E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .53411E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .14433E-08   1.0000          .0000       .10000E+07
    21 'Prefactor '    .71406E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    6.2631       1.0000          .0000       .10000E+07
    23 'norm      '    .90200       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11127E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.4816       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .63645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5959.342     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     1795 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    2.9867        .50300E-07** at limit **
   2  Prefactor     19.098        2.7179       -.25051E-07   -.55135E-01
   3  Prefactor     .11657E-08    13.959        .29418E-06** at limit **
   4  norm          2.9079        7.0931        .39551E-06    .25501E-03
   5  Prefactor     12.675        12.156       -.16522E-07   -.62553E-01
   6  Prefactor     .85820E-07    5.3024       -.41767E-07** at limit **
   7  Prefactor     .93092E-07    5.3838        .20574E-07** at limit **
   8  norm          2.3836        3.9866       -.12611E-06   -.22640E-02
   9  Prefactor     .18940E-06    9.5460        .29348E-06** at limit **
  10  norm          .52015        .25124       -.47727E-09   -.37869E-02
  11  Prefactor     4.8755        8.6294        .63017E-07   -.17609E-02
  12  Prefactor     .90483E-08    10.265       -.19467E-06** at limit **
  13  Prefactor     .22565E-06    4.1871       -.47677E-07** at limit **
  14  Prefactor     .11036E-06    97.864       -.23535E-06** at limit **
  15  norm          .48822E-06    2.8592       -.29701E-07** at limit **
  16  Prefactor     .14433E-08    7.9279       -.25373E-06** at limit **
  17  norm          .99014        1.0709        .24216E-07    .14285E-02
  18  Prefactor     .77605E-07    5.0663       -.28082E-08** at limit **
  19  Prefactor     .16182E-06    54.974        .18416E-06** at limit **
  20  norm           .0000        1.2743       -.25577E-07** at limit **
  21  Prefactor     .55511E-09    4.2944       -.87825E-08** at limit **
  22  Prefactor     6.3152        9.5052        .14058E-06   -.75079E-02
  23  norm          .90032        .70429        .92293E-08    .54597E-02
  24  Prefactor     .48461E-07    7.2852       -.14897E-06** at limit **
  25  Normalizat    1.4809        .22461       -.33044E-05   -.14816E-03
  26  Prefactor     .63627        .17493        .14085E-05   -.92573E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 19.098
  Prefactor  = 1.16573e-09
  norm       = 2.90787
  Prefactor  = 12.675
  Prefactor  = 8.58202e-08
  Prefactor  = 9.30922e-08
  norm       = 2.38357
  Prefactor  = 1.89404e-07
  norm       = 0.520151
  Prefactor  = 4.87546
  Prefactor  = 9.04832e-09
  Prefactor  = 2.25653e-07
  Prefactor  = 1.10356e-07
  norm       = 4.88221e-07
  Prefactor  = 1.44329e-09
  norm       = 0.990137
  Prefactor  = 7.76046e-08
  Prefactor  = 1.61815e-07
  norm       = 0
  Prefactor  = 5.55112e-10
  Prefactor  = 6.3152
  norm       = 0.90032
  Prefactor  = 4.84612e-08
  Normalizat = 1.48089
  Prefactor  = 0.636268
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.342     FROM HESSE     STATUS=OK           502 CALLS     2297 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    2.9986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.098        10.023        .22893E-03   -1.5621    
   3  Prefactor     .11657E-08    18.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.9079        7.1289        .59646E-03   -1.5674    
   5  Prefactor     12.675        25.853        .28779E-03   -1.5637    
   6  Prefactor     .85820E-07    5.7652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .93092E-07    14.158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.3836        4.0261        .66764E-03   -1.5677    
   9  Prefactor     .18940E-06    17.011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .52015        .24935        .58385E-03   -1.5694    
  11  Prefactor     4.8755        8.6588        .45556E-03   -1.5664    
  12  Prefactor     .90483E-08    10.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .22565E-06    5.3987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11036E-06    98.297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .48822E-06    5.4454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .14433E-08    7.9211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .99014        1.0687        .43362E-03   -1.5688    
  18  Prefactor     .77605E-07    13.974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16182E-06    54.966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        1.2733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-09    4.3132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.3152        9.5653        .40087E-03   -1.5658    
  23  norm          .90032        .70367        .45622E-03   -1.5689    
  24  Prefactor     .48461E-07    12.820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.4809        .19162        .50701E-01   -.78317    
  26  Prefactor     .63627        .15042        .41549E-01   -1.0608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20134e-07
Minuit parameter uncertainties:
  1  2.51889e-05
  2  10.0225
  3  0.000300351
  4  7.12893
  5  25.8529
  6  0.00140692
  7  0.00229628
  8  4.02609
  9  0.00358989
  10  0.249349
  11  8.65887
  12  0.000620451
  13  0.00220737
  14  0.00658752
  15  0.0032611
  16  0.000215665
  17  1.06865
  18  0.00208271
  19  0.00596515
  20  6.91437e-07
  21  9.86157e-05
  22  9.56536
  23  0.703672
  24  0.00157632
  25  0.191712
  26  0.150512
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  9.048e-09  6.205e-04  0.000e+00  1.000e+06 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  6.363e-01  1.505e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.481e+00  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 5.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/242150/likelihoodResults_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.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) = 5959.34187509
delta logL = -0.000151592061229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5959.34172433
delta logL = -8.32000296214e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51689E-05   1.0000          .0000       .10000E+07
     2 'Index     '    3.5694       1.0000          .0000       10.000    
     3 'Normalizat'    1.4811       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63617       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5959.342     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      270 TOTAL
                     EDM=   .90E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0559        .42118E-03** at limit **
   2  Index         1.0331        .63660        .80629E-04     .0000    
   3  Normalizat    1.4809        1.0516       -.71795E-05   -.36860E-04
   4  Prefactor     .63627        .98514        .78883E-05    .34969E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.03314
  Normalizat = 1.48089
  Prefactor  = 0.636268
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5959.342     FROM HESSE     STATUS=FAILED         9 CALLS      279 TOTAL
                     EDM=   .90E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52087E-01    1.0688        .80629E-04   -.91633    
   3  Normalizat    1.4809        1.0516       -.71795E-05   -.78317    
   4  Prefactor     .63627        .98514        .78883E-05   -1.0608    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.97057e-12
Minuit parameter uncertainties:
  1  1.3998e-05
  2  0.641331
  3  1.06777
  4  1.01406
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/242150': 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): 101
logL (Free Index) = 5959.3417235
delta logL = 4.32009983342e-10

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  0.000e+00  1.400e-05  0.000e+00  1.000e+06 ( 1.000e-13)
242        Index:  1.033e+00  6.413e-01  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  6.363e-01  1.014e+00  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.481e+00  1.068e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 333.226 -25.433

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/242150/cmap_HighResolution_684115201_684374401_4FGL_J2212.9-2526_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-03', job_status='DONE', photon_flux_upper_limit='5.99e-08', time_completed='2022-09-16 23:57:03.907580', job_id='242150', GAL2='0.64', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1663397823.91', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='4.32e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1716' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:57:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 242150: <4FGL_J2212.9-2526_daily_bin1716> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin1716> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 23:45:24 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:46:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:46:04 2022
Terminated at Fri Sep 16 23:57:04 2022
Results reported at Fri Sep 16 23:57:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin1716 333.226 -25.4335 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2212.9-2526 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   568.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             340.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            700 sec.

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

